From: "Darrick J. Wong" <djwong@kernel.org>
To: Zorro Lang <zlang@redhat.com>
Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org, guan@eryu.me
Subject: Re: [PATCH 1/3] generic/476: reclassify this test as a long running soak stress test
Date: Mon, 24 Apr 2023 11:17:25 -0700 [thread overview]
Message-ID: <20230424181725.GG360885@frogsfrogsfrogs> (raw)
In-Reply-To: <20230422082456.6nsk5ve756j37jas@zlang-mailbox>
On Sat, Apr 22, 2023 at 04:24:56PM +0800, Zorro Lang wrote:
> On Tue, Apr 11, 2023 at 11:13:52AM -0700, Darrick J. Wong wrote:
> > From: Darrick J. Wong <djwong@kernel.org>
> >
> > This test is a long(ish) running stress test, so add it to those groups.
> >
> > Signed-off-by: Darrick J. Wong <djwong@kernel.org>
> > ---
> > tests/generic/476 | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> >
> > diff --git a/tests/generic/476 b/tests/generic/476
> > index 212373d17c..edb0be7b50 100755
> > --- a/tests/generic/476
> > +++ b/tests/generic/476
> > @@ -8,7 +8,7 @@
> > # bugs in the write path.
> > #
> > . ./common/preamble
> > -_begin_fstest auto rw
> > +_begin_fstest auto rw soak long_rw stress
>
> Sorry for late reviewing. I thought a bit more about this change. I think
> the "soak", "long_rw" and "stress" tags are a bit overlap. If the "stress"
> group means "fsstress", then I think the fsstress test can be in soak
> group too, and currently the test cases in "soak" group are same with the
> "long_rw" group [1].
Hm. Given the current definitions of each group:
long_rw long-soak read write IO path exercisers
rw read/write IO tests
soak long running soak tests of any kind
stress fsstress filesystem exerciser
I think these all can apply to generic/476 -- it's definitely a
read-write IO test; it's definitely one that does RW for a long time;
and it uses fsstress.
> So I think we can give the "soak" tag to more test cases with random I/Os
> (fsstress or fsx or others). And rename "long_rw" to "long_soak" for those
> soak group cases which need long soaking time. Then we have two group tags
> for random loading/stress test cases, the testers can (decide to) run these
> random load test cases seperately with more time or loop count.
I have a counterproposal -- what do you think about redefining 'soak' to
mean "all tests where SOAK_DURATION can be used to control the test
runtime directly"? This shouldn't break anyone's scripts, since the
only members of 'soak' are the ones that get modified by this patchset.
--D
> Anyway, above things can be done in another patchset, I just speak out to
> get more talking:) For this patch:
>
> Reviewed-by: Zorro Lang <zlang@redhat.com>
>
>
>
> Thanks,
> Zorro
>
> [1]
> # ./check -n -g soak
> SECTION -- simpledev
> FSTYP -- xfs (non-debug)
> PLATFORM -- Linux/x86_64
> MKFS_OPTIONS -- -f -m rmapbt=1 /dev/sda3
> MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/sda3 /mnt/scratch
>
> generic/521
> generic/522
> generic/642
>
> # ./check -n -g long_rw
> SECTION -- simpledev
> FSTYP -- xfs (non-debug)
> PLATFORM -- Linux/x86_64
> MKFS_OPTIONS -- -f -m rmapbt=1 /dev/sda3
> MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/sda3 /mnt/scratch
>
> generic/521
> generic/522
> generic/642
>
>
> >
> > # Override the default cleanup function.
> > _cleanup()
> >
>
next prev parent reply other threads:[~2023-04-24 18:17 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-11 18:13 [PATCHSET 0/3] fstests: direct specification of looping test duration Darrick J. Wong
2023-04-11 18:13 ` [PATCH 1/3] generic/476: reclassify this test as a long running soak stress test Darrick J. Wong
2023-04-22 8:24 ` Zorro Lang
2023-04-24 18:17 ` Darrick J. Wong [this message]
2023-04-25 4:50 ` Zorro Lang
2023-04-11 18:13 ` [PATCH 2/3] misc: add duration for long soak tests Darrick J. Wong
2023-04-15 0:29 ` [PATCH v2 " Darrick J. Wong
2023-04-22 13:33 ` Zorro Lang
2023-04-24 18:27 ` Darrick J. Wong
2023-04-11 18:14 ` [PATCH 3/3] misc: add duration for recovery loop tests Darrick J. Wong
2023-04-23 15:09 ` Zorro Lang
2023-04-24 17:57 ` Darrick J. Wong
2023-04-13 10:48 ` [PATCHSET 0/3] fstests: direct specification of looping test duration Andrey Albershteyn
2023-04-13 14:47 ` Darrick J. Wong
2023-04-13 15:43 ` Andrey Albershteyn
2023-04-15 0:28 ` Darrick J. Wong
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=20230424181725.GG360885@frogsfrogsfrogs \
--to=djwong@kernel.org \
--cc=fstests@vger.kernel.org \
--cc=guan@eryu.me \
--cc=linux-xfs@vger.kernel.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