From: Dave Chinner Date: Tue, 25 Mar 2008 05:20:38 +0000 (+0000) Subject: Make test 141 work on 64k page size machines X-Git-Tag: v1.1.0~404 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=68ab50e2cb951d1c6431517ed21166390bff9c07;p=xfstests-dev.git 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. --- diff --git a/141 b/141 index c544cbb1..93d01515 100644 --- 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