Hello all btrfs developers
I would really appreciate a systemcall (or ioctl or the like) to allow
deduplication of a block of a file against a block of another file.
(ok if blocks need to be aligned to filesystem blocks)
So that if I know that bytes 32768...65536 of FileA are identical to
bytes 131072...163840 of FileB I can call that syscall to have the
regions deduplicated one against the other atomically and with the
filesystem running.
The syscall should presumably check that the regions are really equal
and perform the deduplication atomically.
This would be the start for a lot of deduplication algorithms in userspace.
It would be a killer feature for backup systems.
Thank you,
Bob
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html