xfs
[Top] [All Lists]

[PATCH] xfstests: generic/274 increase scratch fs size to 2g

To: <linux-btrfs@xxxxxxxxxxxxxxx>, <xfs@xxxxxxxxxxx>
Subject: [PATCH] xfstests: generic/274 increase scratch fs size to 2g
From: Josef Bacik <jbacik@xxxxxxxxxxxx>
Date: Tue, 10 Sep 2013 09:39:02 -0400
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fusionio.com; s=default; t=1378820385; bh=cioSIssXEpc6E8pjbjX5enNQpBffX42yQoHKsCLe7Dk=; h=From:To:Subject:Date; b=VBMK+pexudVy/jkuOgw2/LTY021/NtOxSlcS0P6zLV0fE/ED+prCY4fxqlVZXXg+1 Z7UTP6J+8X+sFNxqE2tmF96yTCvi3wEFdq6LfH+ZHG2fikJctmRnHxf7zBOj+XVSAq vFFGIFReQiOnRGQIBR5n28RAWiXaShuwI1QkRY10=
With 1 gig btrfs defaults to mixed block groups, so we ENOSPC in this test
because we run out of metadata space, not data space.  Increasing to 2g allows
us to use our normal setup and allows us to pass this test.  Thanks,

Signed-off-by: Josef Bacik <jbacik@xxxxxxxxxxxx>
---
 tests/generic/274 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/generic/274 b/tests/generic/274
index da45fab..7c4887f 100755
--- a/tests/generic/274
+++ b/tests/generic/274
@@ -57,7 +57,7 @@ echo "------------------------------"
 rm -f $seqres.full
 
 umount $SCRATCH_DEV 2>/dev/null
-_scratch_mkfs_sized $((1 * 1024 * 1024 * 1024)) >>$seqres.full 2>&1
+_scratch_mkfs_sized $((2 * 1024 * 1024 * 1024)) >>$seqres.full 2>&1
 _scratch_mount
 
 # Create a 4k file and Allocate 4M past EOF on that file
-- 
1.7.7.6

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] xfstests: generic/274 increase scratch fs size to 2g, Josef Bacik <=