@@ -2269,9 +2269,6 @@ _require_loop()
else
_notrun "This test requires loopback device support"
fi
-
- # loop device does not handle zone information
- _require_non_zoned_device ${TEST_DEV}
}
# this test requires kernel support for a secondary filesystem
@@ -38,6 +38,10 @@ _require_loop
# cgroup v2 writeback is only support on block devices so far
_require_block_device $SCRATCH_DEV
+# this test creates a loop device on the scratch block device, which is not
+# supported on zoned devices
+_require_non_zoned_device ${SCRATCH_DEV}
+
cgdir=$CGROUP2_PATH
iosize=$((1024 * 1024 * 8))
Remove the call to _require_non_zoned_device from _require_loop because there is nothing that prevents loop device to work on file systems on zoned devices. But loop devices are not supported directly on top of zoned block devices, so add a _require_non_zoned_device to generic/563 to not run that test on zoned block devices. Signed-off-by: Christoph Hellwig <hch@lst.de> --- common/rc | 3 --- tests/generic/563 | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-)