From: Alex Elder <elder@dreamhost.com>
To: Dave Chinner <david@fromorbit.com>
Cc: linux-fsdevel@vger.kernel.org, lsf-pc@lists.linux-foundation.org,
xfs@oss.sgi.com
Subject: Re: [LSF/MM TOPIC] [ATTEND] xfstests: what do we need to do to make it better?
Date: Wed, 04 Jan 2012 11:18:11 -0600 [thread overview]
Message-ID: <1325697491.3346.18.camel@doink> (raw)
In-Reply-To: <20120103234455.GU23662@dastard>
On Wed, 2012-01-04 at 10:44 +1100, Dave Chinner wrote:
> Given that more people are using xfstests and developing tests, we
> need to consider how to make it friendlier to hack on. The current
> structure of the tree is difficult to work with, the way tests are
> organised and numbered make it difficult to co-ordinate new tests
> and results in patch conflicts, etc.
Coordination of numbers is not a big deal, the test names/numbers
can be easily fixed up at commit time. I also thought that the
numbers--though meaningless on their own--also avoided having to
decide where a particular test belongs. I.e., a test that exercises
several categories of things (maybe preallocation, quota, and ENOSPC)
won't be hidden in any sort of "enospc" test directory.
I do think the growing number of tests is making it a bit unwieldy
though, so I think some sort of reorganization is a good plan.
> We also see problems arising from people not really understanding how
> the xfstests harness is designed and how it really is supposed to
> work, so an overview of the underlying principles of operation would
> probably be helpful to a lot of people. It will also save
> review and rework time if we can avoid having people make the same
> mistakes the first time they submit tests....
This is very important. And the gist of it ought to be
captured somewhere if it is not already.
> I'd also like to discuss some potential infrastructure changes to
> make it easier to add new tests without conflicts with others
> developing new tests. Some of the ideas Christoph and I have
> previously tossed around include:
>
> - break tests up into groups in their own subdirectories.
> e.g. generic tests, xfs/ext4/btrfs specific tests, stress
> tests, performance tests, large FS tests, etc
> - change the way we define groups of tests so we don't have
> a single registry of tests and their groups
> - allow different naming of tests, such as desciptive text
> names rather than just plain numbers
> - allow duplicate test names in different groups
Despite what I said above, I don't disagree with any of this.
Perhaps the tests can be buried in one or more subdirectories,
but each FSTYP defines its own groups file to drive testing.
> I'm sure that other users of xfstests will have some ideas on how to
> improve it for the way they run it, so I'd like to gather and
> incorporate these ideas into any structural change we make to
> xfstests.
Should be a good discussion. It might be useful to have a
proposal or two to work with as a starting point, or maybe
an outline of the types of changes (naming, directory
structure, etc.), to help keep things focused.
-Alex
> Cheers,
>
> Dave.
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
WARNING: multiple messages have this Message-ID (diff)
From: Alex Elder <elder@dreamhost.com>
To: Dave Chinner <david@fromorbit.com>
Cc: lsf-pc@lists.linux-foundation.org, linux-fsdevel@vger.kernel.org,
xfs@oss.sgi.com
Subject: Re: [LSF/MM TOPIC] [ATTEND] xfstests: what do we need to do to make it better?
Date: Wed, 04 Jan 2012 11:18:11 -0600 [thread overview]
Message-ID: <1325697491.3346.18.camel@doink> (raw)
In-Reply-To: <20120103234455.GU23662@dastard>
On Wed, 2012-01-04 at 10:44 +1100, Dave Chinner wrote:
> Given that more people are using xfstests and developing tests, we
> need to consider how to make it friendlier to hack on. The current
> structure of the tree is difficult to work with, the way tests are
> organised and numbered make it difficult to co-ordinate new tests
> and results in patch conflicts, etc.
Coordination of numbers is not a big deal, the test names/numbers
can be easily fixed up at commit time. I also thought that the
numbers--though meaningless on their own--also avoided having to
decide where a particular test belongs. I.e., a test that exercises
several categories of things (maybe preallocation, quota, and ENOSPC)
won't be hidden in any sort of "enospc" test directory.
I do think the growing number of tests is making it a bit unwieldy
though, so I think some sort of reorganization is a good plan.
> We also see problems arising from people not really understanding how
> the xfstests harness is designed and how it really is supposed to
> work, so an overview of the underlying principles of operation would
> probably be helpful to a lot of people. It will also save
> review and rework time if we can avoid having people make the same
> mistakes the first time they submit tests....
This is very important. And the gist of it ought to be
captured somewhere if it is not already.
> I'd also like to discuss some potential infrastructure changes to
> make it easier to add new tests without conflicts with others
> developing new tests. Some of the ideas Christoph and I have
> previously tossed around include:
>
> - break tests up into groups in their own subdirectories.
> e.g. generic tests, xfs/ext4/btrfs specific tests, stress
> tests, performance tests, large FS tests, etc
> - change the way we define groups of tests so we don't have
> a single registry of tests and their groups
> - allow different naming of tests, such as desciptive text
> names rather than just plain numbers
> - allow duplicate test names in different groups
Despite what I said above, I don't disagree with any of this.
Perhaps the tests can be buried in one or more subdirectories,
but each FSTYP defines its own groups file to drive testing.
> I'm sure that other users of xfstests will have some ideas on how to
> improve it for the way they run it, so I'd like to gather and
> incorporate these ideas into any structural change we make to
> xfstests.
Should be a good discussion. It might be useful to have a
proposal or two to work with as a starting point, or maybe
an outline of the types of changes (naming, directory
structure, etc.), to help keep things focused.
-Alex
> Cheers,
>
> Dave.
next prev parent reply other threads:[~2012-01-04 17:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-03 23:44 [LSF/MM TOPIC] [ATTEND] xfstests: what do we need to do to make it better? Dave Chinner
2012-01-03 23:44 ` Dave Chinner
2012-01-04 17:18 ` Alex Elder [this message]
2012-01-04 17:18 ` Alex Elder
2012-01-04 20:35 ` Dave Chinner
2012-01-04 20:35 ` Dave Chinner
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=1325697491.3346.18.camel@doink \
--to=elder@dreamhost.com \
--cc=david@fromorbit.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=lsf-pc@lists.linux-foundation.org \
--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 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.