summaryrefslogtreecommitdiff
path: root/fs/btrfs/file-item.c
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2020-04-17 00:46:15 +0300
committerDavid Sterba <dsterba@suse.com>2020-05-25 12:25:25 +0300
commitf337bd7478178f4c5e2b825fdb8dfaa266c344a2 (patch)
tree5657afbbd6ed2d1e7a3b48edd964e4e742ceb801 /fs/btrfs/file-item.c
parentc7333972b9b571a03bf9aecd1aeecfab81243e8d (diff)
downloadlinux-f337bd7478178f4c5e2b825fdb8dfaa266c344a2.tar.xz
btrfs: don't do repair validation for checksum errors
The purpose of the validation step is to distinguish between good and bad sectors in a failed multi-sector read. If a multi-sector read succeeded but some of those sectors had checksum errors, we don't need to validate anything; we know the sectors with bad checksums need to be repaired. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file-item.c')
0 files changed, 0 insertions, 0 deletions