Skip to contentSkip to conversation

XFSQA 141: support 64k pagesize

PATCH In review David Chinner 3 participants 3 messages Mar 20, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 XFSQA 141: support 64k pagesize

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.

---
 xfstests/141 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xfstests/141 +1 -1
Index: xfs-cmds/xfstests/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
 
Signature · 3 lines
Dave Chinner
Principal Engineer
SGI Australian Software Group
#1 lore raw
Quoted 2 lines · David Chinner

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.

Looks good.

#2 lore raw
In reply to David Chinner
Quoted 4 lines · David Chinner

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.

Test; does NOT cause a regression.

Josef 'Jeff' Sipek.

Signature · 2 lines
Once you have their hardware. Never give it back.
(The First Rule of Hardware Acquisition)