]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfstests: make fs for 274 larger
authorJosef Bacik <jbacik@fusionio.com>
Fri, 21 Jun 2013 20:31:10 +0000 (20:31 +0000)
committerRich Johnston <rjohnston@sgi.com>
Fri, 18 Oct 2013 20:07:29 +0000 (15:07 -0500)
Btrfs will default to mixed block groups for 1 gigabyte file systems and
smaller, which means data and metadata share the same area.  This makes
generic/274 fail for us because we cannot reserve enough metadata space to do
our writes.  Bumping the scratch fs up to 2 gigabytes allows us to do our normal
metadata/data separation and allows us to pass this test.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
tests/generic/274

index da45fab0bf364f3532bd1f1a39a9cc438cf37fd0..7c4887f4cbc56c6ab8abc40773691782d7bc3773 100755 (executable)
@@ -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