@@ -90,6 +90,11 @@ _test_streams() {
local use_directio="$7"
local expected_result="$8" # "fail" if failure is expected
+ # Disable the scratch rt device to avoid test failures relating to the
+ # rt bitmap consuming free space in our small data device and throwing
+ # off the filestreams allocator.
+ unset SCRATCH_RTDEV
+
local size=`expr $agsize \* 1024 \* 1024 \* $agcount`
_scratch_mkfs_xfs -dsize=$size,agcount=$agcount >/dev/null 2>&1 \
|| _fail "mkfs failed"
@@ -33,7 +33,6 @@ _cleanup()
_supported_fs xfs
_require_scratch
-_require_no_rtinherit
_check_filestreams_support || _notrun "filestreams not available"
@@ -32,7 +32,6 @@ _cleanup()
_supported_fs xfs
_require_scratch
-_require_no_rtinherit
_check_filestreams_support || _notrun "filestreams not available"
@@ -32,7 +32,6 @@ _cleanup()
_supported_fs xfs
_require_scratch
-_require_no_rtinherit
_check_filestreams_support || _notrun "filestreams not available"
@@ -32,7 +32,6 @@ _cleanup()
_supported_fs xfs
_require_scratch
-_require_no_rtinherit
_check_filestreams_support || _notrun "filestreams not available"
@@ -32,7 +32,6 @@ _cleanup()
_supported_fs xfs
_require_scratch
-_require_no_rtinherit
_check_filestreams_support || _notrun "filestreams not available"
@@ -57,6 +57,11 @@ _require_xfs_io_command "falloc"
# check for filestreams
_check_filestreams_support || _notrun "filestreams not available"
+# Disable the scratch rt device to avoid test failures relating to the rt
+# bitmap consuming free space in our small data device and throwing off the
+# filestreams allocator.
+unset SCRATCH_RTDEV
+
# use small AGs for frequent stream switching
_scratch_mkfs_xfs -d agsize=20m,size=2g >> $seqres.full 2>&1 ||
_fail "mkfs failed"