From: Dave Chinner <david@fromorbit.com>
To: xfs@oss.sgi.com
Subject: [PATCH 1/6] generic/204: tweak reserve pool size
Date: Wed, 23 Apr 2014 08:04:29 +1000 [thread overview]
Message-ID: <1398204274-2113-2-git-send-email-david@fromorbit.com> (raw)
In-Reply-To: <1398204274-2113-1-git-send-email-david@fromorbit.com>
From: Dave Chinner <dchinner@redhat.com>
On small block size filesystems, the reserve pool size is kept
constant at 4MB. filesystems with smaller blocks use comparitively
more blocks for indexing metadata (e.g. in the inode and extent
btrees) and so having a higher indirect block usage. Hence we need
to leave the reserve pool at 1024 block and not scale it for a
constant size.
This makes the test pass on a filesystem made with MKFS_OPTIONS="-b
size=1024 -m crc=1".
Signed-off-by: Dave Chinner <dchinner@redhat.com>
---
tests/generic/204 | 2 --
1 file changed, 2 deletions(-)
diff --git a/tests/generic/204 b/tests/generic/204
index 4ebab26..de029c6 100755
--- a/tests/generic/204
+++ b/tests/generic/204
@@ -74,7 +74,6 @@ space=97920000
# files = (97920000 / (isize + bsize))
files=$((space / (isize + dbsize)))
-resv_blks=$((resv_blks * (4096 / dbsize)))
echo files $files, resvblks $resv_blks >> $seqres.full
_scratch_resvblks $resv_blks >> $seqres.full 2>&1
@@ -88,5 +87,4 @@ _check_scratch_fs
# success, all done
echo "*** done"
-rm -f $seqres.full
status=0
--
1.9.0
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2014-04-22 22:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-22 22:04 [PATCH 0/6] xfstests: fixes and new tests Dave Chinner
2014-04-22 22:04 ` Dave Chinner [this message]
2014-04-23 15:21 ` [PATCH 1/6] generic/204: tweak reserve pool size Christoph Hellwig
2014-04-22 22:04 ` [PATCH 2/6] shared/051: remove ACL count subtest Dave Chinner
2014-04-23 15:21 ` Christoph Hellwig
2014-04-22 22:04 ` [PATCH 3/6] xfs: introduce new large ACL test Dave Chinner
2014-04-23 15:23 ` Christoph Hellwig
2014-04-23 23:09 ` Dave Chinner
2014-04-23 23:44 ` [PATCH 3/6 v2] generic: " Dave Chinner
2014-04-25 5:36 ` Christoph Hellwig
2014-04-22 22:04 ` [PATCH 4/6] generic: cleanup space after test in TESTDIR Dave Chinner
2014-04-23 15:23 ` Christoph Hellwig
2014-04-22 22:04 ` [PATCH 5/6] xfs: remove dmapi tests from the auto group Dave Chinner
2014-04-23 15:24 ` Christoph Hellwig
2014-04-22 22:04 ` [PATCH 6/6] filter: xfs_repair emits new corruption messagse Dave Chinner
2014-04-23 15:24 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1398204274-2113-2-git-send-email-david@fromorbit.com \
--to=david@fromorbit.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).