diff mbox series

[8/9] generic/449 fix fs size for _scratch_mkfs_sized for btrfs

Message ID 1537784193-24431-9-git-send-email-anand.jain@oracle.com (mailing list archive)
State New, archived
Headers show
Series Fix _scratch_mkfs_sized() for btrfs | expand

Commit Message

Anand Jain Sept. 24, 2018, 10:16 a.m. UTC
btrfs needs ~200m to create btrfs with default options like non mixed
block groups.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 tests/generic/449 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/tests/generic/449 b/tests/generic/449
index 88f918654b54..47c219222dde 100755
--- a/tests/generic/449
+++ b/tests/generic/449
@@ -41,7 +41,7 @@  _require_test
 _require_acls
 _require_attrs
 
-_scratch_mkfs_sized $((50 * 1024 * 1024)) >> $seqres.full 2>&1
+_scratch_mkfs_sized $((200 * 1024 * 1024)) >> $seqres.full 2>&1
 _scratch_mount || _fail "mount failed"
 
 TFILE=$SCRATCH_MNT/testfile.$seq
@@ -52,7 +52,7 @@  chmod u+rwx $TFILE
 chmod go-rwx $TFILE
 
 # Try to run out of space so setfacl will fail
-$XFS_IO_PROG -c "pwrite 0 50m" $TFILE >>$seqres.full 2>&1
+$XFS_IO_PROG -c "pwrite 0 200m" $TFILE >>$seqres.full 2>&1
 i=1
 
 # Setting acls on an xfs filesystem will succeed even after running out of