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.
Signed-off-by: Dave Chinner <dgc@xxxxxxx>
---
xfstests/141 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: xfs-cmds/xfstests/141
===================================================================
--- xfs-cmds.orig/xfstests/141 2006-12-19 14:11:09.000000000 +1100
+++ xfs-cmds/xfstests/141 2008-03-19 09:45:33.500797374 +1100
@@ -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
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
|