btrfs: regression test for nocsum buffered read's repair
This is to test whether buffered read retry-repair code is able to
work in raid1 case as expected.
Please note that without checksum, btrfs doesn't know if the data
used to repair is correct, so repair is more of resync which makes
sure that both of the copy has the same content.
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