5 # Check the filestreams allocator is doing its job.
6 # Multi-file data streams should always write into seperate AGs.
8 #-----------------------------------------------------------------------
9 # Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved.
11 # This program is free software; you can redistribute it and/or
12 # modify it under the terms of the GNU General Public License as
13 # published by the Free Software Foundation.
15 # This program is distributed in the hope that it would be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU General Public License for more details.
20 # You should have received a copy of the GNU General Public License
21 # along with this program; if not, write the Free Software Foundation,
22 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24 #-----------------------------------------------------------------------
26 # creator - based on work from ddiss@sgi.co
30 echo "QA output created by $seq"
35 status=1 # failure is the default!
36 trap "_cleanup; exit \$status" 0 1 2 3 15
44 # get standard environment, filters and checks
47 . ./common.filestreams
49 # real QA test starts here
51 _supported_os IRIX Linux
55 _check_filestreams_support || _notrun "filestreams not available"
57 # test small stream, multiple I/O per file, 30s timeout
58 _set_stream_timeout_centisecs 3000
60 # test streams does a mkfs and mount
61 _test_streams 8 16 4 8 3 0 0
62 _test_streams 8 16 4 8 3 1 0
63 _test_streams 8 16 4 8 3 0 1
64 _test_streams 8 16 4 8 3 1 1