[Top] [All Lists]

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

To: Josef Bacik <jbacik@xxxxxxxxxxxx>, <linux-btrfs@xxxxxxxxxxxxxxx>, <xfs@xxxxxxxxxxx>
Subject: Re: [PATCH 5/8] xfstests: generic/274 increase scratch fs size to 2g
From: Rich Johnston <rjohnston@xxxxxxx>
Date: Tue, 22 Oct 2013 15:25:51 -0500
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1382120790-31060-5-git-send-email-jbacik@xxxxxxxxxxxx>
References: <1382120790-31060-1-git-send-email-jbacik@xxxxxxxxxxxx> <1382120790-31060-5-git-send-email-jbacik@xxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

Patch does not apply, already committed.


commit 859f127da2ee6d49faa41cafd4ed362aa526e4a0
Author: Josef Bacik <jbacik@xxxxxxxxxxxx>
Date:   Fri Jun 21 20:31:10 2013 +0000

    xfstests: make fs for 274 larger

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@xxxxxxxxxxxx>
    Reviewed-by: Ben Myers <bpm@xxxxxxx>
    Signed-off-by: Rich Johnston <rjohnston@xxxxxxx>

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

 # Create a 4k file and Allocate 4M past EOF on that file

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