]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
Make test 141 work on 64k page size machines
authorDave Chinner <dgc@sgi.com>
Tue, 25 Mar 2008 05:20:38 +0000 (05:20 +0000)
committerDave Chinner <dgc@sgi.com>
Tue, 25 Mar 2008 05:20:38 +0000 (05:20 +0000)
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.

141

diff --git a/141 b/141
index c544cbb1961be1d2458c406f1c4f403df9fa1c4b..93d0151577bbb33bd580b4379743280a9273d9ae 100644 (file)
--- a/141
+++ b/141
@@ -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