From: Dave Chinner <david@fromorbit.com>
To: dsterba@suse.cz, Rich Johnston <rjohnston@sgi.com>, xfs@oss.sgi.com
Subject: Re: [PATCH] xfstests: enhance ltp/fsx with a timeout option
Date: Fri, 8 Mar 2013 09:27:45 +1100 [thread overview]
Message-ID: <20130307222745.GT23616@dastard> (raw)
In-Reply-To: <20130307182525.GA29541@suse.cz>
On Thu, Mar 07, 2013 at 07:25:25PM +0100, David Sterba wrote:
> Hi,
>
> On Wed, Mar 06, 2013 at 12:31:27PM -0600, Rich Johnston wrote:
> > I used test 263 to verify that fsx works as expected with the new -T and the
> > existing -N options. With the -T option of course, test 263 will fail. I
> > don't suggest that we change existing tests but add new tests which use the
> > new -T option. Do you have a new test which you intend to use the -T option
> > that can be submitted with this patch?
>
> I understand that changing behaviour of existing checks is not desirable.
>
> The -T option to fsx was inspired by the test we used to hunt a bug at
> 3.8-rc time where 50 concurrent direct io fsx jobs triggered the bug in
> about 10 minutes or it was considered fine.
>
> fsx -q xxxf$x -Z -R -W -r 4096 -w 4096
> (http://permalink.gmane.org/gmane.comp.file-systems.btrfs/22447)
fsx is already run with those exact parameters as part of test 091.
> I'll send this test integrated into xfstests harness.
There's little point in adding duplicate tests that only differ in
runtime. It does not improve test coverage at all and only increases
the overall test harness run time.
If you want to run 091 for longer, add support for the new
LOAD_FACTOR variable so you can increase the number of ops it runs
for. Alternatively, make fsx use both -N ops and -T time
simultaneously, and stop the execution whenever the first criteria
expires. That way you can bound the test run time, and just use
LOAD_FACTOR to make sure it runs for the desired amount out time....
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
prev parent reply other threads:[~2013-03-07 22:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1358944851-14336-1-git-send-email-dsterba@suse.cz>
2013-03-06 18:31 ` [PATCH] xfstests: enhance ltp/fsx with a timeout option Rich Johnston
2013-03-07 18:25 ` David Sterba
2013-03-07 22:27 ` Dave Chinner [this message]
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=20130307222745.GT23616@dastard \
--to=david@fromorbit.com \
--cc=dsterba@suse.cz \
--cc=rjohnston@sgi.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