mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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.
This commit is contained in:
@@ -39,7 +39,7 @@ _scratch_mount
|
|||||||
# create file, mmap a region and mmap read it
|
# create file, mmap a region and mmap read it
|
||||||
file=$SCRATCH_MNT/mmap
|
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
|
rm -f $file
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user