generic: test MADV_POPULATE_READ with IO errors
[xfstests-dev.git] / tests / xfs / 174
1 #! /bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2007 Silicon Graphics, Inc.  All Rights Reserved.
4 #
5 # FSQA Test No. 174
6 #
7 # Check the filestreams allocator is doing its job.
8 # Multi-file data streams should always write into seperate AGs.
9 #
10 . ./common/preamble
11 _begin_fstest rw filestreams auto
12
13 # Import common functions.
14 . ./common/filter
15 . ./common/filestreams
16
17 # real QA test starts here
18 _supported_fs xfs
19
20 _require_scratch
21
22 _check_filestreams_support || _notrun "filestreams not available"
23
24 # test number of streams greater than AGs. Expected to fail.
25 _set_stream_timeout_centisecs 6000
26
27 _test_streams 8 32 65 3 1 1 0 fail
28 _test_streams 8 32 65 3 1 0 1 fail
29
30 status=0
31 exit
32