Guys, What is the best way to ask for a feature enhancement to ZFS. To allow ZFS to be usefull for DR disk replication, we need to be able set an option against the pool or file system or both, called close sync. ie When a programme closes a file any outstanding writes are flush to disk, before the close returns to the programme. So when a programme ends you are guarantee any state information is save to the disk. (exit() also results in close being called)
open(xxx, O_DSYNC) is only good if you can alter the source code. Shell scripts use of awk, head, tail, echo etc to create output files do not use O_DSYNC, when the shell script returns 0, you want to know that all the data is on the disk, so if the system crashes the data is still there. PS it would be nice if UFS had closessync as well, instead of using forcedirectio. Cheers _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss