Fix intermittent failure on 64k pagesize

Files are too small for 64k sized I/Os to reliably produce 50
extents +/-10%. Increase the size of the files to increase
reliability.
Merge of master-melb:xfs-cmds:30996a by kenmcd.

  Fix intermittent failure on 64k pagesize.
This commit is contained in:
Dave Chinner
2008-04-28 16:26:35 +00:00
parent c649168f05
commit 2a415066f7
2 changed files with 10 additions and 10 deletions
+5 -5
View File
@@ -79,13 +79,13 @@ _setup_testdir
rm -f $here/$seq.out.full
_do_test 1 50 "-l 5000000 -c 50 -b $pgsize"
_do_test 2 100 "-l 10000000 -c 100 -b $pgsize"
_do_test 3 100 "-l 10000000 -c 100 -b 512" # test partial pages
_do_test 1 50 "-l 50000000 -c 50 -b $pgsize"
_do_test 2 100 "-l 100000000 -c 100 -b $pgsize"
_do_test 3 100 "-l 100000000 -c 100 -b 512" # test partial pages
# rinse, lather, repeat for direct IO
_do_test 4 50 "-d -l 5000000 -c 50 -b $pgsize"
_do_test 5 100 "-d -l 10000000 -c 100 -b $pgsize"
_do_test 4 50 "-d -l 50000000 -c 50 -b $pgsize"
_do_test 5 100 "-d -l 100000000 -c 100 -b $pgsize"
# note: direct IO requires page aligned IO
# todo: realtime.
+5 -5
View File
@@ -1,21 +1,21 @@
QA output created by 008
randholes.1 : -l 5000000 -c 50 -b PGSIZE
randholes.1 : -l 50000000 -c 50 -b PGSIZE
------------------------------------------
holes is in range
randholes.2 : -l 10000000 -c 100 -b PGSIZE
randholes.2 : -l 100000000 -c 100 -b PGSIZE
------------------------------------------
holes is in range
randholes.3 : -l 10000000 -c 100 -b 512
randholes.3 : -l 100000000 -c 100 -b 512
------------------------------------------
holes is in range
randholes.4 : -d -l 5000000 -c 50 -b PGSIZE
randholes.4 : -d -l 50000000 -c 50 -b PGSIZE
------------------------------------------
holes is in range
randholes.5 : -d -l 10000000 -c 100 -b PGSIZE
randholes.5 : -d -l 100000000 -c 100 -b PGSIZE
------------------------------------------
holes is in range