btrfs: regression test for btrfs dio read repair
This case tests whether dio read can repair the bad copy if we have
a good copy.
Commit 2dabb3248453 ("Btrfs: Direct I/O read: Work on sectorsized
blocks") introduced the regression.
The upstream fix is commit 2e949b0a5592 ("Btrfs: fix invalid
dereference in btrfs_retry_endio")
Signed-off-by: Liu Bo <email@example.com>
Reviewed-by: Eryu Guan <firstname.lastname@example.org>
Reviewed-by: Filipe Manana <email@example.com>
Signed-off-by: Eryu Guan <firstname.lastname@example.org>
3 files changed