The _require_no_rtinherit has been removed by:
0ac0d8fb ("common: remove _require_no_rtinherit")
But some cases still remain the _require_no_rtinherit, so remove
them all.
Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
_require_dm_target error
_require_xfs_io_command "falloc"
_require_odirect
_require_dm_target error
_require_xfs_io_command "falloc"
_require_odirect
-# This test uses "dm" without taking into account the data could be on
-# realtime subvolume, thus the test will fail with rtinherit=1
-_require_no_rtinherit
+# Disable the scratch rt device to avoid test failures relating to the rt
+# bitmap consuming all the free space in our small data device.
+unset SCRATCH_RTDEV
+
fssize=$((196 * 1048576))
echo "Format and mount"
$XFS_IO_PROG -d -c "pwrite -S 0x69 -b 1048576 0 $fssize" $SCRATCH_DEV >> $seqres.full
fssize=$((196 * 1048576))
echo "Format and mount"
$XFS_IO_PROG -d -c "pwrite -S 0x69 -b 1048576 0 $fssize" $SCRATCH_DEV >> $seqres.full
_require_scratch
_require_dm_target error
_require_xfs_io_command "falloc"
_require_scratch
_require_dm_target error
_require_xfs_io_command "falloc"
-# This test uses "dm" without taking into account the data could be on
-# realtime subvolume, thus the test will fail with rtinherit=1
-_require_no_rtinherit
_require_aiodio "aiocp"
AIO_TEST="$here/src/aio-dio-regress/aiocp"
rm -f $seqres.full
_require_aiodio "aiocp"
AIO_TEST="$here/src/aio-dio-regress/aiocp"
rm -f $seqres.full
+# Disable the scratch rt device to avoid test failures relating to the rt
+# bitmap consuming all the free space in our small data device.
+unset SCRATCH_RTDEV
fssize=$((196 * 1048576))
echo "Format and mount"
fssize=$((196 * 1048576))
echo "Format and mount"
# real QA test starts here
_require_scratch
# real QA test starts here
_require_scratch
-# This test uses "dm" without taking into account the data could be on
-# realtime subvolume, thus the test will fail with rtinherit=1
-_require_no_rtinherit
# Generally, we want to avoid journal errors on the extended testcase. Only
# unset the -s flag if we have a logdev
# Generally, we want to avoid journal errors on the extended testcase. Only
# unset the -s flag if we have a logdev
+# Disable the scratch rt device to avoid test failures relating to the rt
+# bitmap consuming all the free space in our small data device.
+unset SCRATCH_RTDEV
+
echo "Format and mount"
_scratch_mkfs > $seqres.full 2>&1
_dmerror_init
echo "Format and mount"
_scratch_mkfs > $seqres.full 2>&1
_dmerror_init
# real QA test starts here
_require_scratch_nocheck
# real QA test starts here
_require_scratch_nocheck
-# This test uses "dm" without taking into account the data could be on
-# realtime subvolume, thus the test will fail with rtinherit=1
-_require_no_rtinherit
_require_dm_target error
_require_xfs_io_command "syncfs"
rm -f $seqres.full
_require_dm_target error
_require_xfs_io_command "syncfs"
rm -f $seqres.full
+# Disable the scratch rt device to avoid test failures relating to the rt
+# bitmap consuming all the free space in our small data device.
+unset SCRATCH_RTDEV
+
echo "Format and mount"
_scratch_mkfs > $seqres.full 2>&1
_dmerror_init
echo "Format and mount"
_scratch_mkfs > $seqres.full 2>&1
_dmerror_init
# real QA test starts here
_require_scratch_nocheck
# real QA test starts here
_require_scratch_nocheck
-# This test uses "dm" without taking into account the data could be on
-# realtime subvolume, thus the test will fail with rtinherit=1
-_require_no_rtinherit
sflag='-s'
case $FSTYP in
sflag='-s'
case $FSTYP in
+# Disable the scratch rt device to avoid test failures relating to the rt
+# bitmap consuming all the free space in our small data device.
+unset SCRATCH_RTDEV
+
echo "Format and mount"
_scratch_mkfs > $seqres.full 2>&1
_dmerror_init
echo "Format and mount"
_scratch_mkfs > $seqres.full 2>&1
_dmerror_init