]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs/295: skip on zoned device as we cannot corrupt it directly
authorNaohiro Aota <naohiro.aota@wdc.com>
Tue, 26 Sep 2023 14:11:47 +0000 (23:11 +0900)
committerZorro Lang <zlang@kernel.org>
Thu, 5 Oct 2023 14:37:12 +0000 (22:37 +0800)
commit7a093dfa66d61ad107235161a5a52444d361e387
tree8687b7c1beed69e02c070cf7e3bc3e116b88a54e
parent0b70188b651b8d918989d35d162927051b5ff1bb
btrfs/295: skip on zoned device as we cannot corrupt it directly

We use _pwrite_byte to corrupt the root node, but such overwrite won't work
on a sequential write required zone. So, skip the test on a zoned device.

Technically, we can run this test case by checking if the physical location
lands in a conventional zone. But, the logic should be no difference than
the regular mode and I don't think it's worth doing so.

Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/295