From: David Chinner <dgc@sgi.com>
To: xfs-dev <xfs-dev@sgi.com>
Cc: xfs-oss <xfs@oss.sgi.com>
Subject: [PATCH] XFSQA 141: support 64k pagesize
Date: Thu, 20 Mar 2008 17:34:27 +1100 [thread overview]
Message-ID: <20080320063427.GB103491721@sgi.com> (raw)
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
next reply other threads:[~2008-03-20 6:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-20 6:34 David Chinner [this message]
2008-03-20 7:45 ` [PATCH] XFSQA 141: support 64k pagesize Christoph Hellwig
2008-03-20 20:36 ` Josef 'Jeff' Sipek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080320063427.GB103491721@sgi.com \
--to=dgc@sgi.com \
--cc=xfs-dev@sgi.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox