mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: make fs for 274 larger
Btrfs will default to mixed block groups for 1 gigabyte file systems and smaller, which means data and metadata share the same area. This makes generic/274 fail for us because we cannot reserve enough metadata space to do our writes. Bumping the scratch fs up to 2 gigabytes allows us to do our normal metadata/data separation and allows us to pass this test. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> Reviewed-by: Ben Myers <bpm@sgi.com> Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
committed by
Rich Johnston
parent
8bab8b31bb
commit
859f127da2
+1
-1
@@ -57,7 +57,7 @@ echo "------------------------------"
|
|||||||
rm -f $seqres.full
|
rm -f $seqres.full
|
||||||
|
|
||||||
umount $SCRATCH_DEV 2>/dev/null
|
umount $SCRATCH_DEV 2>/dev/null
|
||||||
_scratch_mkfs_sized $((1 * 1024 * 1024 * 1024)) >>$seqres.full 2>&1
|
_scratch_mkfs_sized $((2 * 1024 * 1024 * 1024)) >>$seqres.full 2>&1
|
||||||
_scratch_mount
|
_scratch_mount
|
||||||
|
|
||||||
# Create a 4k file and Allocate 4M past EOF on that file
|
# Create a 4k file and Allocate 4M past EOF on that file
|
||||||
|
|||||||
Reference in New Issue
Block a user