xfs
[Top] [All Lists]

[PATCH] xfstests: make fs for 274 larger

To: <xfs@xxxxxxxxxxx>
Subject: [PATCH] xfstests: make fs for 274 larger
From: Josef Bacik <jbacik@xxxxxxxxxxxx>
Date: Fri, 21 Jun 2013 16:31:10 -0400
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fusionio.com; s=default; t=1371846673; bh=hruYYowIBrnYoSVhS64xvr1ikuM+hZC3E/8qxYQLEvc=; h=From:To:Subject:Date; b=qVTIsXMCPjl82MAiTpYUcVkeviSrgo0MX/U6BitJNhKGVtSUq+POLt7q6dMGDRElF cJP/dqs1sVB5E+DSV3LVgUoFP8Jx38PSiW7H505lxKEuYK4fMLVmtMIi09HC9PHFw3 PAD3F/1OGWqEP5etBi7duLNzU2tfgbeXuZ2SxvQY=
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 seperation 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: make fs for 274 larger, Josef Bacik <=