On Mon, Apr 08, 2019 at 01:49:49PM +0000, Leonid Bloch wrote:
> Thanks for letting know! Btrfs inspect-internal csum-dump indeed sounds
> awesome! Recursively, on a subvolume that would be perfect. Let me know
> if help is needed.
Well actually the intention of this part was mostly to have a proper way of
verifying the checksums we write in the checksum tree.
I have a patchset in development that adds SHA-256 in the mix (it's actually
very similar to the patch you've referenced).
Apart from SHA-256 I want to have a not cryptographically secure checksum as
well which would help detecting duplicate extents and can be used for
de-duplication.
But this patchset is not anywhere near I can (or better want to) show to
someone.
Thanks for your patience.
Johannes
--
Johannes Thumshirn SUSE Labs Filesystems
[email protected] +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850