]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: record error if one block has failed to retry
authorLiu Bo <bo.li.liu@oracle.com>
Tue, 16 May 2017 00:20:07 +0000 (17:20 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2017 16:25:59 +0000 (18:25 +0200)
commit3b9381060a9e71ad002b92e9649efb1718192b12
treea38e9de4eab42a3354b46a0da0a2600b042b626f
parent7023d1d60f6e8266f74131c64b01bdf287fbaea2
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>
fs/btrfs/inode.c