Will Murnane schrieb:
Perhaps ZFS could do some very simplistic de-dup here: it has the
B-tree entry for the file in question when it goes to overwrite a
piece of it, so it could calculate the checksum of the new block and
see if it matches the checksum for the block it is overwriting.  This
is a much simpler case than the global de-dup that's in the works:
only one checksum needs to be compared to one other, compared to the
needle-in-haystack problem of dedup on the whole pool.

Beware that the default checksum algorithm is not cryptographically safe. You can easily generate blocks with different content but the same checksum.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to