* [PATCH] xfstests: make fs for 274 larger
@ 2013-06-21 20:30 Josef Bacik
2013-06-21 21:53 ` Eric Sandeen
0 siblings, 1 reply; 6+ messages in thread
From: Josef Bacik @ 2013-06-21 20:30 UTC (permalink / raw)
To: linux-btrfs
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@fusionio.com>
---
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
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] xfstests: make fs for 274 larger
@ 2013-06-21 20:31 Josef Bacik
2013-07-08 21:30 ` Ben Myers
2013-10-18 20:10 ` Rich Johnston
0 siblings, 2 replies; 6+ messages in thread
From: Josef Bacik @ 2013-06-21 20:31 UTC (permalink / raw)
To: xfs
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@fusionio.com>
---
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
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] xfstests: make fs for 274 larger
2013-06-21 20:30 [PATCH] xfstests: make fs for 274 larger Josef Bacik
@ 2013-06-21 21:53 ` Eric Sandeen
2013-06-24 13:33 ` Josef Bacik
0 siblings, 1 reply; 6+ messages in thread
From: Eric Sandeen @ 2013-06-21 21:53 UTC (permalink / raw)
To: Josef Bacik; +Cc: linux-btrfs
On 6/21/13 3:30 PM, Josef Bacik wrote:
> 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,
It'd be nice if we could force btrfs into the other mode just for this
test, but it's probably harmless to just make everyone else bigger.
Makes the test take longer though, another gig to write.
Did you test other filesystems w/ the change?
Seems like a reasonable & expedient solution though, so:
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
> ---
> 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
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] xfstests: make fs for 274 larger
2013-06-21 21:53 ` Eric Sandeen
@ 2013-06-24 13:33 ` Josef Bacik
0 siblings, 0 replies; 6+ messages in thread
From: Josef Bacik @ 2013-06-24 13:33 UTC (permalink / raw)
To: Eric Sandeen; +Cc: Josef Bacik, linux-btrfs
On Fri, Jun 21, 2013 at 04:53:54PM -0500, Eric Sandeen wrote:
> On 6/21/13 3:30 PM, Josef Bacik wrote:
> > 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,
>
> It'd be nice if we could force btrfs into the other mode just for this
> test, but it's probably harmless to just make everyone else bigger.
> Makes the test take longer though, another gig to write.
>
> Did you test other filesystems w/ the change?
>
> Seems like a reasonable & expedient solution though, so:
>
> Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Yeah I tested xfs and ext4 and they worked out right, it takes a little longer
but its like 10-15 seconds so not too big of a deal. I had thought of making
this test force btrfs to do non-mixed but I didn't want to wire all that up when
we could just jack the size up. Thanks,
Josef
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] xfstests: make fs for 274 larger
2013-06-21 20:31 Josef Bacik
@ 2013-07-08 21:30 ` Ben Myers
2013-10-18 20:10 ` Rich Johnston
1 sibling, 0 replies; 6+ messages in thread
From: Ben Myers @ 2013-07-08 21:30 UTC (permalink / raw)
To: Josef Bacik; +Cc: xfs
On Fri, Jun 21, 2013 at 04:31:10PM -0400, Josef Bacik wrote:
> 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@fusionio.com>
XFS and ext4 still passed with this patch.
Reviewed-by: Ben Myers <bpm@sgi.com>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] xfstests: make fs for 274 larger
2013-06-21 20:31 Josef Bacik
2013-07-08 21:30 ` Ben Myers
@ 2013-10-18 20:10 ` Rich Johnston
1 sibling, 0 replies; 6+ messages in thread
From: Rich Johnston @ 2013-10-18 20:10 UTC (permalink / raw)
To: Josef Bacik, xfs
This has been committed.
Thanks
--Rich
commit 859f127da2ee6d49faa41cafd4ed362aa526e4a0
Author: Josef Bacik <jbacik@fusionio.com>
Date: Fri Jun 21 20:31:10 2013 +0000
xfstests: make fs for 274 larger
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-10-18 20:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-21 20:30 [PATCH] xfstests: make fs for 274 larger Josef Bacik
2013-06-21 21:53 ` Eric Sandeen
2013-06-24 13:33 ` Josef Bacik
-- strict thread matches above, loose matches on Subject: below --
2013-06-21 20:31 Josef Bacik
2013-07-08 21:30 ` Ben Myers
2013-10-18 20:10 ` Rich Johnston
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.