summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>2014-04-01 18:01:43 +0800
committerChris Mason <clm@fb.com>2014-04-07 09:08:49 -0700
commit3b080b2564287be91605bfd1d5ee985696e61d3c (patch)
treea5a7b6a08703e71047193c41dd3b243ff09c0fea /COPYING
parent68bb462d42a963169bf7acbe106aae08c17129a5 (diff)
Btrfs: scrub raid56 stripes in the right way
Steps to reproduce: # mkfs.btrfs -f /dev/sda[8-11] -m raid5 -d raid5 # mount /dev/sda8 /mnt # btrfs scrub start -BR /mnt # echo $? <--unverified errors make return value be 3 This is because we don't setup right mapping between physical and logical address for raid56, which makes checksum mismatch. But we will find everthing is fine later when rechecking using btrfs_map_block(). This patch fixed the problem by settuping right mappings and we only verify data stripes' checksums. Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions