summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/check-integrity.c
diff options
context:
space:
mode:
authorLiu Bo2017-05-16 02:20:07 +0200
committerDavid Sterba2017-06-19 18:25:59 +0200
commit629ebf4fadbc647e2118ef9c94b038eeef178e9c (patch)
treea38e9de4eab42a3354b46a0da0a2600b042b626f /fs/btrfs/check-integrity.c
parentBtrfs: change how we iterate bios in endio (diff)
downloadkernel-qcow2-linux-629ebf4fadbc647e2118ef9c94b038eeef178e9c.tar.gz
kernel-qcow2-linux-629ebf4fadbc647e2118ef9c94b038eeef178e9c.tar.xz
kernel-qcow2-linux-629ebf4fadbc647e2118ef9c94b038eeef178e9c.zip
Btrfs: record error if one block has failed to retry
In the nocsum case of dio read endio, it returns immediately if an error gets returned when repairing, which leaves the rest blocks unrepaired. The behavior is different from how buffered read endio works in the same case. This changes it to record error only and go on repairing the rest blocks. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/check-integrity.c')
0 files changed, 0 insertions, 0 deletions