OK..
> Once the file is deleted, ARC entry {dva 5 txg 5} is no longer valid.
> So why do we need it?
>>Let's suppose file is removed from the directory but is still open by
>>some process...
On a traditional fle system, you would not be able to delete an open file.
Which I believe is good.
So, on ZFS you say, you can write to a file that you opened in txg 5
that was already deleted in txg 10?
When txg 5 completes, you will have the updated content, and when txg 10
finishes, you will have a deleted file.
I guess transactional semantics are hard to get used to.
--
This message posted from opensolaris.org