From c85c46531b4fcfb1d403fe4e0466b2ee5f4e2191 Mon Sep 17 00:00:00 2001 From: Anand Jain Date: Tue, 25 Sep 2018 12:24:22 +0800 Subject: [PATCH] generic/387: fix _scratch_mkfs_sized option for btrfs btrfs needs 256mb to create a fs with default block group which is non mixed, so pass 256mb to _scratch_mkfs_sized(). Signed-off-by: Anand Jain Reviewed-by: Qu Wenruo Signed-off-by: Eryu Guan --- tests/generic/387 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/generic/387 b/tests/generic/387 index 68a48012..54a782bb 100755 --- a/tests/generic/387 +++ b/tests/generic/387 @@ -35,7 +35,8 @@ _supported_fs generic _supported_os Linux _require_scratch_reflink -_scratch_mkfs_sized $((32 * 1024 * 1024)) >> $seqres.full 2>&1 +#btrfs needs 256mb to create default blockgroup fs +_scratch_mkfs_sized $((256 * 1024 * 1024)) >> $seqres.full 2>&1 _scratch_mount testfile=$SCRATCH_MNT/testfile -- 2.39.5