mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
committed by
Eryu Guan
parent
5eb645e8b6
commit
4f4b89cdf3
+1
-1
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user