4 # Check the filestreams allocator is doing its job.
5 # Multi-file data streams should always write into seperate AGs.
7 #-----------------------------------------------------------------------
8 # Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved.
9 #-----------------------------------------------------------------------
11 # creator - based on work from ddiss@sgi.co
15 echo "QA output created by $seq"
19 status=1 # failure is the default!
20 trap "_cleanup; exit \$status" 0 1 2 3 15
25 rm -rf ${SCRATCH_MNT}/stream*
28 # get standard environment, filters and checks
32 # real QA test starts here
34 _supported_os IRIX Linux
38 . ./common.filestreams
40 # test small stream, multiple I/O per file, 30s timeout
41 # XXX: irix timer mechanism?
42 echo 3000 > /proc/sys/fs/xfs/filestream_centisecs
43 _test_streams 8 16 4 8 3 0 0
44 _test_streams 8 16 4 8 3 1 0
45 _test_streams 8 16 4 8 3 0 1
46 _test_streams 8 16 4 8 3 1 1