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 #-----------------------------------------------------------------------
15 echo "QA output created by $seq"
20 status=1 # failure is the default!
21 trap "_cleanup; exit \$status" 0 1 2 3 15
29 # get standard environment, filters and checks
32 . ./common.filestreams
34 # real QA test starts here
36 _supported_os IRIX Linux
40 _check_filestreams_support || _notrun "filestreams not available"
42 # test large number of streams, multiple I/O per file, 120s timeout
43 # Because each stream spills over an AG, the stream count needs to
44 # be less than or equal to half the AG count so we don't run out of AGs.
45 _set_stream_timeout_centisecs 12000
47 _test_streams 64 16 33 8 2 1 1 fail
48 _test_streams 64 16 32 8 2 0 1
49 _test_streams 64 16 33 8 2 0 0 fail
50 _test_streams 64 16 32 8 2 1 0