xfs/007: fix regressions on V4 filesystems
[xfstests-dev.git] / tests / xfs / 170
1 #! /bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2007 Silicon Graphics, Inc.  All Rights Reserved.
4 #
5 #
6 # FSQA Test No. 170
7 #
8 # Check the filestreams allocator is doing its job.
9 # Multi-file data streams should always write into seperate AGs.
10 #
11 . ./common/preamble
12 _begin_fstest rw filestreams auto quick
13
14 # Import common functions.
15 . ./common/filter
16 . ./common/filestreams
17
18 # real QA test starts here
19 _supported_fs xfs
20
21 _require_scratch
22
23 _check_filestreams_support || _notrun "filestreams not available"
24
25 # test small stream, multiple I/O per file, 30s timeout
26 _set_stream_timeout_centisecs 3000
27
28 # test streams does a mkfs and mount
29 _test_streams 8 22 4 8 3 0 0
30 _test_streams 8 22 4 8 3 1 0
31 _test_streams 8 22 4 8 3 0 1
32 _test_streams 8 22 4 8 3 1 1
33
34 status=0
35 exit