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
during read")

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Filipe Manana <fdmanana@gmail.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Liu Bo
2017-05-17 16:36:08 -06:00
committed by Eryu Guan
parent 4f2ea4abc1
commit d3a1eb354e
3 changed files with 158 additions and 0 deletions
+1
View File
@@ -142,3 +142,4 @@
138 auto compress
139 auto qgroup
140 auto quick
141 auto quick