]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
xfs: skip filestreams test on internal RT devices
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Nov 2024 17:24:50 +0000 (18:24 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 30 Jan 2025 05:40:19 +0000 (06:40 +0100)
The filestreams tests using _test_streams force a run on the data
section, but for internal RT zoned devices the data section can be tiny
and might not provide enough space.  Skip these tests as they aren't
really useful when testing a zoned config anyway.

Signed-off-by: Christoph Hellwig <hch@lst.de>
common/filestreams

index 00b28066873fcbfe4d7c684370e458bdbd56c2e9..bb8459405b3e25b879bffa4fb40bc46e6256d0d8 100644 (file)
@@ -108,6 +108,11 @@ _test_streams() {
                _scratch_mount
        fi
 
+       # Skip these tests on zoned file systems as filestreams don't work
+       # with the zoned allocator, and the above would force it into the
+       # tiny data section only used for metadata anyway.
+       _require_xfs_scratch_non_zoned
+
        cd $SCRATCH_MNT
 
        # start $stream_count streams