Omar Sandoval 77d5d68931 btrfs: unify buffered and direct I/O read repair
Currently, direct I/O has its own versions of bio_readpage_error() and
btrfs_check_repairable() (dio_read_error() and
btrfs_check_dio_repairable(), respectively). The main difference is that
the direct I/O version doesn't do read validation. The rework of direct
I/O repair makes it possible to do validation, so we can get rid of
btrfs_check_dio_repairable() and combine bio_readpage_error() and
dio_read_error() into a new helper, btrfs_submit_read_repair().

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2020-05-25 11:25:27 +02:00
..
2020-03-23 17:02:00 +01:00
2020-05-25 11:25:27 +02:00
2020-03-23 17:02:00 +01:00
2019-11-18 23:43:44 +01:00
2020-03-23 17:01:43 +01:00
2020-01-20 16:40:55 +01:00
2019-11-18 17:51:51 +01:00
2020-03-23 17:02:00 +01:00