My understanding is that the answers to the questions posed below are both YES due the transactional design of ZFS. However, I'm working with some folks that need more details or documents describing the design/behavior without having to look through all the source code.
[b]Scenario 1[/b] * Create file * Open and Write data to file * Issue fsync() call for file [b]Question:[/b] Is it guaranteed that the write to the directory occurs prior to the write to the file? [b]Scenario 1[/b] * Write an extended attribute (such as a file version number) for a file. * Open and Write data to file * Issue fsync() call for file [b]Question:[/b] Is it guaranteed that the extended attribute write occurs prior to the write to the file? Additionally, is it possible that there are differences in this behavior as relates to these scenarios between Solaris 10 U4 or a SXDE 01/08 implementation (snv_b79)? This message posted from opensolaris.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss