May be look at rsync and  rsync lib (http://librsync.sourceforge.net/) code to 
see if a ZFS API could be design to help rsync/librsync in the future as well 
as diff.

It might be a good idea for POSIX to have a single checksum and a 
multi-checksum interface.

One problem could be block sizes, if a file is re-written and is the same size 
it may have different ZFS record sizes within, if it was written over a long 
period of time (txg's)(ignoring compression), and therefore you could not use 
ZFS checksum to compare two files.

Side Note:
It would be nice if ZFS on every txg only wrote full record sizes unless it was 
short on memory, or a file was closed. Maybe the txg could happen more often if 
it just scanned for full recordsize's writes and closed files. Or block which 
had not be altered for three scan's.????
-- 
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