Message ID | 303122319b2f81902b981db5f1aeb8608be9be7d.1448366932.git.zhaolei@cn.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/common/rc b/common/rc index 4c2f42c..0670102 100644 --- a/common/rc +++ b/common/rc @@ -732,7 +732,9 @@ _scratch_mkfs_sized() $MKFS_UDF_PROG $MKFS_OPTIONS -b $blocksize $SCRATCH_DEV $blocks ;; btrfs) - $MKFS_BTRFS_PROG $MKFS_OPTIONS -b $fssize $SCRATCH_DEV + local mixed_opt= + (( fssize <= 100 * 1024 * 1024 )) && mixed_opt='--mixed' + $MKFS_BTRFS_PROG $MKFS_OPTIONS $mixed_opt -b $fssize $SCRATCH_DEV ;; reiser4) # mkfs.resier4 requires size in KB as input for creating filesystem