btrfs: test direct I/O read repair with interleaved corrupted sectors v2022.05.29
authorChristoph Hellwig <hch@lst.de>
Fri, 27 May 2022 08:19:15 +0000 (10:19 +0200)
committerZorro Lang <zlang@kernel.org>
Sat, 28 May 2022 07:14:24 +0000 (15:14 +0800)
commitd3cc66012a287b6db81aad408b6970a4a96a67da
tree7d53062d63ff7316223d9dd6ebfb9c849ca5840c
parentfa1bcba588240e7d96a41f56483cf1b826fac3de
btrfs: test direct I/O read repair with interleaved corrupted sectors

Test that repair handles the case where it needs to read from more than
a single mirror on the raid1c3 profile and needs to take turns over the
mirrors to recover data for the whole read.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/267 [new file with mode: 0755]
tests/btrfs/267.out [new file with mode: 0644]