linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Jan Kara <jack@suse.cz>
Cc: Christoph Hellwig <hch@infradead.org>, linux-fsdevel@vger.kernel.org
Subject: Re: quota tests
Date: Tue, 6 Sep 2011 10:50:09 -0400	[thread overview]
Message-ID: <20110906145008.GA17593@infradead.org> (raw)
In-Reply-To: <20110906144334.GE23747@quack.suse.cz>

On Tue, Sep 06, 2011 at 04:43:34PM +0200, Jan Kara wrote:
>   All I had (well, except a tool which verifies sanity of quotactl syscall
> but that's out of scope for xfstests I'd say) is already integrated into
> xfstests.
> 
>   We have test 219 which tests whether quota measures something sane.
>   Test 230 tries to exceed various quota limits and checks that it fails
> roughly at the right moment.
>   Tests 231 and 232 check that if we stress the filesystem (fsx, fsstress),
> the resulting quota usage is indeed what we get when we sum up the usage
> using quotacheck (which is worthless for XFS but for ext? filesystems this
> is really useful).
>   Test 233 checks running fsstress with quotas set low so that we often hit
> EDQUOT. We also verify that usage matches what quotacheck gets.
>   Finally test 234 stresses operations on top of quota files by adding and
> removing quota structures by setquota from several processes.
> 
>   What other tests would you like to have?

In XFS we have a few counters for evens in the quota code, and I noticed
that we're barely ever hitting reclaim of dquots due to memory pressure,
not do we ever see racing quota lookups.  So one thing I'd like to to
is all kinds of heavy fs stressing with quotas enabled.  One option is
to simply run all of xfstests with quotas enabled, which I already did,
but I'm still not hitting any of these above.


  reply	other threads:[~2011-09-06 14:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-06 12:21 quota tests Christoph Hellwig
2011-09-06 14:43 ` Jan Kara
2011-09-06 14:50   ` Christoph Hellwig [this message]
2011-09-06 15:12     ` Jan Kara
2011-09-06 15:15       ` Christoph Hellwig
2011-09-06 14:50   ` Jan Kara

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=20110906145008.GA17593@infradead.org \
    --to=hch@infradead.org \
    --cc=jack@suse.cz \
    --cc=linux-fsdevel@vger.kernel.org \
    /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).