- OS common filestreams timeout change function

- use xfs_io instead of dd (working direct io)
        - no filestreams directory flags, just use the mount option
Merge of master-melb:xfs-cmds:29185a by kenmcd.
This commit is contained in:
David Disseldorp
2007-07-20 04:11:09 +00:00
parent 9d0da8e0da
commit 2bf01dc5c4
6 changed files with 118 additions and 60 deletions
+6 -3
View File
@@ -21,8 +21,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_cleanup()
{
cd /
rm -rf ${SCRATCH_MNT}/stream*
cd /
rm -f $tmp.*
}
# get standard environment, filters and checks
@@ -37,8 +37,11 @@ _require_scratch
. ./common.filestreams
_check_filestreams_support || _notrun "filestreams not available"
# test number of streams greater than AGs. Expected to fail.
echo 6000 > /proc/sys/fs/xfs/filestream_centisecs
_set_stream_timeout_centisecs 6000
_test_streams 8 32 65 3 1 1 0 fail
_test_streams 8 32 65 3 1 0 1 fail