generic/235: work with 64k block size

With 64k blocksized filesystem, this test fails since a single 8k write
will actually end up consuming 64k. Hence this commit writes 64k data
into the test file.

Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Tested-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Chandan Rajendra
2018-09-24 20:49:39 +05:30
committed by Eryu Guan
parent 5eb645e8b6
commit 4f4b89cdf3
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ _try_scratch_mount "-o remount,ro" 2>&1 | tee -a $seqres.full | _filter_scratch
touch $SCRATCH_MNT/failed 2>&1 | tee -a $seqres.full | _filter_scratch
_try_scratch_mount "-o remount,rw" 2>&1 | tee -a $seqres.full | _filter_scratch
$XFS_IO_PROG -c 'pwrite 0 8k' -c 'fsync' \
$XFS_IO_PROG -c 'pwrite 0 64k' -c 'fsync' \
$SCRATCH_MNT/testfile >>$seqres.full 2>&1
do_repquota
+2 -2
View File
@@ -17,10 +17,10 @@ Block grace time: 7days; Inode grace time: 7days
Block limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
fsgqa -- 8 0 0 1 0 0
fsgqa -- 64 0 0 1 0 0
*** Report for group quotas on device SCRATCH_DEV
Block grace time: 7days; Inode grace time: 7days
Block limits File limits
Group used soft hard grace used soft hard grace
----------------------------------------------------------------------
fsgqa -- 8 0 0 1 0 0
fsgqa -- 64 0 0 1 0 0