Because ZFS is transaction, (effectively preserves order), the rename trick 
will work.
If you find the ".filename" delete create a new ".filename" and when finish 
writing rename it to "filename". If "filename" exists you no all writes were 
completed. If you have a batch system which looks for the file it will not find 
it until it is renamed. Not that I am a  of batch systems which use CPU poll 
for files existance.
-- 
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