Make test 141 work on 64k page size machines

Make the file larger and read 64k from it instead of 16k
so that it pulls in a full page from the middle of the file.
Merge of master-melb:xfs-cmds:30703a by kenmcd.

  Use a large file and 64k I/O size so the test works on 64k page
  size machines.
This commit is contained in:
Dave Chinner
2008-03-25 05:20:38 +00:00
parent 5c62a6cdf4
commit 68ab50e2cb
+1 -1
View File
@@ -39,7 +39,7 @@ _scratch_mount
# create file, mmap a region and mmap read it
file=$SCRATCH_MNT/mmap
xfs_io -f -c "pwrite 0 64k" -c "mmap 16k 16k" -c "mread -r" $file > /dev/null
xfs_io -f -c "pwrite 0 1024k" -c "mmap 64k 64k" -c "mread -r" $file > /dev/null
rm -f $file