public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] XFSQA 141: support 64k pagesize
@ 2008-03-20  6:34 David Chinner
  2008-03-20  7:45 ` Christoph Hellwig
  2008-03-20 20:36 ` Josef 'Jeff' Sipek
  0 siblings, 2 replies; 3+ messages in thread
From: David Chinner @ 2008-03-20  6:34 UTC (permalink / raw)
  To: xfs-dev; +Cc: xfs-oss

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@sgi.com>
---
 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-20 20:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-20  6:34 [PATCH] XFSQA 141: support 64k pagesize David Chinner
2008-03-20  7:45 ` Christoph Hellwig
2008-03-20 20:36 ` Josef 'Jeff' Sipek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox