On Thu, 6 Aug 2009, Chookiex wrote:

But, you know, ZIO is pipelined, it means that the IO request may be
sent, and when you unlink the file, the IO stage is in progress.
so, would it be canceled else?

In POSIX filesystems, if a file is still open when it is unlinked, then the file directory entry goes away but the file still exists as long as a process has an open file handle to it. This helps avoid certain problems which otherwise would exist.

I doubt that ZFS ever cancels I/O in progress.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to