mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
common/rc: raise btrfs mixed mode threshold to 1GB
generic/427 creates a 256 MB filesystem and then writes a 200 MB file, which fails on Btrfs if mixed mode is not enabled. Raise the threshold to 1GB, which is where we typically recommend mixed mode. Signed-off-by: Omar Sandoval <osandov@fb.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
@@ -999,7 +999,7 @@ _scratch_mkfs_sized()
|
|||||||
;;
|
;;
|
||||||
btrfs)
|
btrfs)
|
||||||
local mixed_opt=
|
local mixed_opt=
|
||||||
(( fssize <= 100 * 1024 * 1024 )) && mixed_opt='--mixed'
|
(( fssize <= 1024 * 1024 * 1024 )) && mixed_opt='--mixed'
|
||||||
$MKFS_BTRFS_PROG $MKFS_OPTIONS $mixed_opt -b $fssize $SCRATCH_DEV
|
$MKFS_BTRFS_PROG $MKFS_OPTIONS $mixed_opt -b $fssize $SCRATCH_DEV
|
||||||
;;
|
;;
|
||||||
jfs)
|
jfs)
|
||||||
|
|||||||
Reference in New Issue
Block a user