xfs
[Top] [All Lists]

[PATCH] xfstests: make the scratch device for generic/256 slightly large

To: <linux-btrfs@xxxxxxxxxxxxxxx>, <xfs@xxxxxxxxxxx>
Subject: [PATCH] xfstests: make the scratch device for generic/256 slightly larger
From: Josef Bacik <jbacik@xxxxxxxxxxxx>
Date: Tue, 2 Jul 2013 15:17:18 -0400
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fusionio.com; s=default; t=1372792641; bh=7PT/rrNOPbKNczllYizQ6jAK6Ig/zjW7s6JIU1bGlLk=; h=From:To:Subject:Date; b=mQwsm1z4iO+dMIDhTUejFH5cOb1jGRLG904amlKbcetj/of4Gj4QTbOSKrPRXllSW ZxjZoMPTmuPBaeV8Mr7tloz34/aJpEPeF4D5Hd9dueNX9hAi2KqqglGWv3nb+73+wB n3l+PXpUiVOkqDQjUM+fz2JD1ID6J56TCf4XWCO0=
This is similar to a previous fix I sent.  1 gig makes us do mixed file block
groups for btrfs, so these enospc tests will usually fail because we don't have
space for metadata, which is the case for this test.  So jack the size up to
1.5gig so that btrfs can do its normal thing and pass the test.  Thanks,

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

diff --git a/tests/generic/256 b/tests/generic/256
index 4a53da8..cfe7237 100755
--- a/tests/generic/256
+++ b/tests/generic/256
@@ -165,7 +165,7 @@ _test_full_fs_punch()
 
 # Make a small file system to fill
 umount $SCRATCH_DEV &> /dev/null
-_scratch_mkfs_sized $(( 1024 * 1024 * 1024 )) &> /dev/null
+_scratch_mkfs_sized $(( 1536 * 1024 * 1024 )) &> /dev/null
 _scratch_mount
 # Test must be able to write files with non-root permissions
 chmod 777 $SCRATCH_MNT
-- 
1.7.7.6

<Prev in Thread] Current Thread [Next in Thread>