btrfs: regression test for btrfs buffered read's repair
This case tests whether buffered read can repair the bad copy if we
have a good copy.
Commit 20a7db8ab3f2 ("btrfs: add dummy callback for readpage_io_failed
and drop checks") introduced the regression.
The upstream fix is commit 9d0d1c8b1c9d ("Btrfs: bring back repair
Signed-off-by: Liu Bo <firstname.lastname@example.org>
Reviewed-by: Eryu Guan <email@example.com>
Reviewed-by: Filipe Manana <firstname.lastname@example.org>
Signed-off-by: Eryu Guan <email@example.com>
3 files changed