mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic/172: work with 64k block size
For 64k block size, With 256MiB as the XFS filesystem size and 168 MiB as the size of the clone source file, we end up hitting ENOSPC when cloning the source file. This happens due to lack of space for housing the corresponding metadata. This scenario also occurs when using a 512MiB XFS filesystem and 300MiB clone source file. Hence this commit increases the size of the test filesystem to 1 GiB and the size of the clone source file to 768MiB. 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
ec6c4e7f85
commit
b1180a9f75
+2
-2
@@ -47,8 +47,8 @@ echo "Reformat with appropriate size"
|
||||
blksz="$(_get_block_size $testdir)"
|
||||
umount $SCRATCH_MNT
|
||||
|
||||
file_size=$((168 * 1024 * 1024))
|
||||
fs_size=$((256 * 1024 * 1024))
|
||||
file_size=$((768 * 1024 * 1024))
|
||||
fs_size=$((1024 * 1024 * 1024))
|
||||
_scratch_mkfs_sized $fs_size >> $seqres.full 2>&1
|
||||
_scratch_mount >> $seqres.full 2>&1
|
||||
rm -rf $testdir
|
||||
|
||||
Reference in New Issue
Block a user