]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
Content-Type: text/plain; charset="utf-8"
authorJosef Bacik <jbacik@fusionio.com>
Tue, 2 Jul 2013 19:17:18 +0000 (19:17 +0000)
committerRich Johnston <rjohnston@sgi.com>
Thu, 15 Aug 2013 18:57:38 +0000 (13:57 -0500)
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: xfstests: make the scratch device for generic/256 slightly larger
Date: Tue, 02 Jul 2013 19:17:18 -0000
From: Josef Bacik <jbacik@fusionio.com>
X-Patchwork-Id: 5816
Message-Id: <1372792638-23957-1-git-send-email-jbacik@fusionio.com>
To: <linux-btrfs@vger.kernel.org>, <xfs@oss.sgi.com>

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@fusionio.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
tests/generic/256

index 4a53da87607b86783d4f5705f9532fb9e95b11ec..cfe7237151ba0418cbf9ca36492b259fa6dee295 100755 (executable)
@@ -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