btrfs-progs: check: Check data csum for all copies
commit9be798867718770263e663de3be7361e8422d96c
authorQu Wenruo <wqu@suse.com>
Tue, 27 Feb 2018 09:12:56 +0000 (27 17:12 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 7 Jun 2018 14:32:03 +0000 (7 16:32 +0200)
tree132145f0d4ccd4836b9c421668bb4b76d1b7f6cd
parentcb1fbe71ae88fc307b99f9595fc9e7d65974f75f
btrfs-progs: check: Check data csum for all copies

Original --check-data-csum option will skip the extra copy if the first
copy matches csum.

Since offline scrub (with recoverability report) is still out-of-tree, at
least enhance --check-data-csum option to handle multiple copies.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
check/main.c