[9/9] generic/387 fix _scratch_mkfs_sized option for btrfs
diff mbox series

Message ID 1537784193-24431-10-git-send-email-anand.jain@oracle.com
State New
Headers show
Series
  • Fix _scratch_mkfs_sized() for btrfs
Related show

Commit Message

Anand Jain Sept. 24, 2018, 10:16 a.m. UTC
btrfs needs 200mb to create a fs with default block group which is non
mixed, so pass 200mb to _scratch_mkfs_sized().

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 tests/generic/387 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/tests/generic/387 b/tests/generic/387
index 68a48012faa5..9d9d65d222c8 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 ~200mb to create default blockgroup fs
+_scratch_mkfs_sized $((200 * 1024 * 1024)) >> $seqres.full 2>&1
 _scratch_mount
 
 testfile=$SCRATCH_MNT/testfile