public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] xfstests: enhance ltp/fsx with a timeout option
       [not found] <1358944851-14336-1-git-send-email-dsterba@suse.cz>
@ 2013-03-06 18:31 ` Rich Johnston
  2013-03-07 18:25   ` David Sterba
  0 siblings, 1 reply; 3+ messages in thread
From: Rich Johnston @ 2013-03-06 18:31 UTC (permalink / raw)
  To: David Sterba; +Cc: xfs

David,

Thanks for submitting this patch. I like the addition of the -T option.

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?

Thanks
--Rich

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] xfstests: enhance ltp/fsx with a timeout option
  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
  0 siblings, 1 reply; 3+ messages in thread
From: David Sterba @ 2013-03-07 18:25 UTC (permalink / raw)
  To: Rich Johnston; +Cc: xfs

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)

I'll send this test integrated into xfstests harness.

david

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] xfstests: enhance ltp/fsx with a timeout option
  2013-03-07 18:25   ` David Sterba
@ 2013-03-07 22:27     ` Dave Chinner
  0 siblings, 0 replies; 3+ messages in thread
From: Dave Chinner @ 2013-03-07 22:27 UTC (permalink / raw)
  To: dsterba, Rich Johnston, xfs

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-07 22:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox