Nicolas Williams wrote:


The big question though is: how to snapshot file versions when they are
touched/created by applications that are not aware of FV?

Certainly not with every write(2).  At fsync(2), close(2), open(2) for
write/append?  What if an application deals in multiple files?  Etc...

Automatically capturing file versions isn't possible in the general case
with applications that aren't aware of FV.
Don't snapshots have the same problem. A snapshot could potentially be taken when a file is partially written or updated, no?

For example, I start to write a large file, zfs's buffers fill up and it flushes them to disk during the middle of the file I'm writing. If a snapshot came along at about the same time, the file would be incomplete/corrupt, no?


_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to