]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
btrfs: test buffered I/O read repair with interleaved corrupted sectors
authorChristoph Hellwig <hch@lst.de>
Fri, 27 May 2022 08:19:14 +0000 (10:19 +0200)
committerZorro Lang <zlang@kernel.org>
Sat, 28 May 2022 07:13:47 +0000 (15:13 +0800)
commitfa1bcba588240e7d96a41f56483cf1b826fac3de
tree3f84f903fb7105a1db3eb00ce92d9f8360878b26
parent94b0abc48f7724b4860cd19a207d1b9ca8228645
btrfs: test buffered 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/266 [new file with mode: 0755]
tests/btrfs/266.out [new file with mode: 0644]