summaryrefslogtreecommitdiff
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2020-04-16 14:46:25 -0700
committerDavid Sterba <dsterba@suse.com>2020-05-25 11:25:27 +0200
commit77d5d6893106ea7b19709bed2491f93ff10a86d7 (patch)
tree9477302de473050864880d6aa7618c2173cb664d /fs/btrfs/tree-log.c
parent5c047a699aa9433ad92136343a9306d985134c24 (diff)
downloadlwn-77d5d6893106ea7b19709bed2491f93ff10a86d7.tar.gz
lwn-77d5d6893106ea7b19709bed2491f93ff10a86d7.zip
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>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions