If power failure happens you will lose anything in cache. So you could lose the 
entire file on power failure if the system is not busy (ie ZFS does delay 
writes, unless you do a fsync before closing the file).  I would still like to 
see a file system option "sync on close" or even "wait for txg on close"

Some of the best methods are to create a temp file  e.g. ".download.filename" 
and rename when the download (or what ever) is sucessfull to "filename" Or 
create a extra empty file to say it has been completed e.g. filename.dn. I 
prefer the rename trick.
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to