From: Luis Chamberlain <mcgrof@kernel.org>
To: Theodore Ts'o <tytso@mit.edu>
Cc: Matthew Wilcox <willy@infradead.org>,
Zorro Lang <zlang@redhat.com>,
Amir Goldstein <amir73il@gmail.com>,
linux-fsdevel <linux-fsdevel@vger.kernel.org>,
linux-block <linux-block@vger.kernel.org>,
pankydev8@gmail.com, Josef Bacik <josef@toxicpanda.com>,
jmeneghi@redhat.com, Jan Kara <jack@suse.cz>,
Davidlohr Bueso <dave@stgolabs.net>,
Dan Williams <dan.j.williams@intel.com>, Jake Edge <jake@lwn.net>,
Klaus Jensen <its@irrelevant.dk>,
fstests <fstests@vger.kernel.org>
Subject: Re: [RFC: kdevops] Standardizing on failure rate nomenclature for expunges
Date: Thu, 7 Jul 2022 14:36:33 -0700 [thread overview]
Message-ID: <YsdR4XgXW+iE/m8h@bombadil.infradead.org> (raw)
In-Reply-To: <YsB54p1vpBg4v2Xd@mit.edu>
On Sat, Jul 02, 2022 at 01:01:22PM -0400, Theodore Ts'o wrote:
> Note: I recommend that you skip using the loop device xfstests
> strategy, which Luis likes to advocate. For the perspective of
> *likely* regressions caused by the Folio patches, I claim they are
> going to cause you more pain than they are worth. If there are some
> strange Folio/loop device interactions, they aren't likely going to be
> obvious/reproduceable failures that will cause pain to linux-next
> testers. While it would be nice to find **all** possible bugs before
> patches go usptream to Linus, if it slows down your development
> velocity to near-standstill, it's not worth it. We have to be
> realistic about things.
Regressions with the loopback block driver can creep up and we used to
be much worse, but we have gotten better at it. Certainly testing a
loopback driver can mean running into a regression with the loopback
driver. But some block driver must be used in the end.
> What about other file systems? Well, first of all, xfstests only has
> support for the following file systems:
>
> 9p btrfs ceph cifs exfat ext2 ext4 f2fs gfs glusterfs jfs msdos
> nfs ocfs2 overlay pvfs2 reiserfs tmpfs ubifs udf vfat virtiofs xfs
>
> {kvm,gce}-xfstests supports these 16 file systems:
>
> 9p btrfs exfat ext2 ext4 f2fs jfs msdos nfs overlay reiserfs
> tmpfs ubifs udf vfat xfs
>
> kdevops has support for these file systems:
>
> btrfs ext4 xfs
Thanks for this list Ted!
And so adding suport for a new filesystem in kdevops should be:
* a kconfig symbol for the fs and then one per supported mkfs config
option you want to support
* a configuration file for it, this can be as elaborate to support
different mkfs config options as we have for xfs [0] or one
with just one or two mkfs config options [1]. The default
is just shared information.
[0] https://github.com/linux-kdevops/kdevops/blob/master/playbooks/roles/fstests/templates/xfs/xfs.config
[1] https://github.com/linux-kdevops/kdevops/blob/master/playbooks/roles/fstests/templates/ext4/ext4.config
> There are more complex things you could do, such as running a baseline
> set of tests 500 times (as Luis suggests),
I advocate 100 and I suggest that is a nice goal for enterprise kernels.
I also personally advocate this confidence in a baseline for stable
kernels if *I* am going to backport changes.
> but I believe that for your
> use case, it's not a good use of your time. You'd need to speed
> several weeks finding *all* the flaky tests up front, especially if
> you want to do this for a large set of file systems. It's much more
> efficient to check if a suspetected test regression is really a flaky
> test result when you come across them.
Or you work with a test runner that has the list of known failures / flaky
failures for a target configuration like using loopbacks already. And
hence why I tend to attend to these for xfs, btrfs, and ext4 when I have
time. My goal has been to work towards a baseline of at least 100
successful runs without failure tracking upstream.
Luis
next prev parent reply other threads:[~2022-07-07 21:36 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-19 3:07 [RFC: kdevops] Standardizing on failure rate nomenclature for expunges Luis Chamberlain
2022-05-19 6:36 ` Amir Goldstein
2022-05-19 7:58 ` Dave Chinner
2022-05-19 9:20 ` Amir Goldstein
2022-05-19 15:36 ` Josef Bacik
2022-05-19 16:18 ` Zorro Lang
2022-05-19 11:24 ` Zorro Lang
2022-05-19 14:18 ` Theodore Ts'o
2022-05-19 15:10 ` Zorro Lang
2022-05-19 14:58 ` Matthew Wilcox
2022-05-19 15:44 ` Zorro Lang
2022-05-19 16:06 ` Matthew Wilcox
2022-05-19 16:54 ` Zorro Lang
2022-07-01 23:36 ` Luis Chamberlain
2022-07-02 17:01 ` Theodore Ts'o
2022-07-07 21:36 ` Luis Chamberlain [this message]
2022-07-02 21:48 ` Bart Van Assche
2022-07-03 5:56 ` Amir Goldstein
2022-07-03 13:15 ` Theodore Ts'o
2022-07-03 14:22 ` Amir Goldstein
2022-07-03 16:30 ` Theodore Ts'o
2022-07-04 3:25 ` Dave Chinner
2022-07-04 7:58 ` Amir Goldstein
2022-07-05 2:29 ` Theodore Ts'o
2022-07-05 3:11 ` Dave Chinner
2022-07-06 10:11 ` Amir Goldstein
2022-07-06 14:29 ` Theodore Ts'o
2022-07-06 16:35 ` Amir Goldstein
2022-07-03 13:32 ` Theodore Ts'o
2022-07-03 14:54 ` Bart Van Assche
2022-07-07 21:16 ` Luis Chamberlain
2022-07-07 21:06 ` Luis Chamberlain
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=YsdR4XgXW+iE/m8h@bombadil.infradead.org \
--to=mcgrof@kernel.org \
--cc=amir73il@gmail.com \
--cc=dan.j.williams@intel.com \
--cc=dave@stgolabs.net \
--cc=fstests@vger.kernel.org \
--cc=its@irrelevant.dk \
--cc=jack@suse.cz \
--cc=jake@lwn.net \
--cc=jmeneghi@redhat.com \
--cc=josef@toxicpanda.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=pankydev8@gmail.com \
--cc=tytso@mit.edu \
--cc=willy@infradead.org \
--cc=zlang@redhat.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).