aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2018-04-11 22:07:29 -0700
committerEryu Guan <guaneryu@gmail.com>2018-04-22 18:44:17 +0800
commitd4da414a9a9df9617035e5ce2c66252fba20df93 (patch)
tree7096414b71eaf9e663a9f8a3621593ba89ef3d4c
parentfdd096c9499ae91e10dab6e6444c560ca25d0a8f (diff)
downloadxfstests-dev-d4da414a9a9df9617035e5ce2c66252fba20df93.tar.gz
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>
-rw-r--r--common/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rc b/common/rc
index 622afd6fe5..366489bbd2 100644
--- a/common/rc
+++ b/common/rc
@@ -999,7 +999,7 @@ _scratch_mkfs_sized()
;;
btrfs)
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
;;
jfs)