.. and add it to a few more tests where it matters for the main device.
Signed-off-by: Christoph Hellwig <hch@lst.de>
# do not run on zoned file systems
_require_scratch_non_zoned()
{
+ _require_non_zoned_device $SCRATCH_DEV
if [ "$USE_EXTERNAL" = yes -a ! -z "$SCRATCH_RTDEV" ]; then
_require_non_zoned_device $SCRATCH_RTDEV
_require_scratch
_require_dm_target delay
+# The dm-delay map added by this test doesn't work on zoned devices
+_require_non_zoned_device $SCRATCH_DEV
+
echo "Silence is golden."
_scratch_mkfs_xfs >> $seqres.full 2>&1
_require_xfs_quota
_require_freeze
+#
+# The dm-flakey map added by this test doesn't work on zoned devices
+# because table sizes need to be aligned to the zone size.
+#
+_require_non_zoned_device $SCRATCH_DEV
+_require_non_zoned_device $SCRATCH_RTDEV
+
echo "Silence is golden"
_scratch_mkfs > $seqres.full 2>&1
# Import common functions.
. ./common/filter
-
_require_scratch_nocheck
+# can't grow data volume on mixed configs
+_require_scratch_non_zoned
+
# Geometry printing wasn't unified until xfs_spaceman grew an 'info'
# command, so skip this test if there is no spaceman or it doesn't
# know what 'info' is.
_require_scratch_nocheck
_require_xfs_mkfs_cfgfile
+# reflink currently not supported for zoned devices
+_require_non_zoned_device $SCRATCH_DEV
+
echo "Silence is golden"
def_cfgfile=$TEST_DIR/a
# The dm-error map added by this test doesn't work on zoned devices
# because table sizes need to be aligned to the zone size.
#
+_require_non_zoned_device $SCRATCH_DEV
_require_non_zoned_device $SCRATCH_RTDEV
filter_scrub_errors() {