From: "Darrick J. Wong" <djwong@kernel.org>
To: zlang@redhat.com
Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org, guan@eryu.me
Subject: [PATCH v2 1/2] generic/61[67]: support SOAK_DURATION
Date: Fri, 1 Sep 2023 07:53:31 -0700 [thread overview]
Message-ID: <20230901145331.GP28186@frogsfrogsfrogs> (raw)
In-Reply-To: <169335095385.3534600.13449847282467855019.stgit@frogsfrogsfrogs>
From: Darrick J. Wong <djwong@kernel.org>
Now that I've finally gotten liburing installed on my test machine, I
can actually test io_uring. Adapt these two tests to support
SOAK_DURATION so I can add it to that too.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
---
v2: add to soak group
---
tests/generic/616 | 3 ++-
tests/generic/617 | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/generic/616 b/tests/generic/616
index 538b480ba7..5b0b02c5e4 100755
--- a/tests/generic/616
+++ b/tests/generic/616
@@ -8,7 +8,7 @@
# fsx ops to limit the testing time to be an auto group test.
#
. ./common/preamble
-_begin_fstest auto rw io_uring stress
+_begin_fstest auto rw io_uring stress soak
# Import common functions.
. ./common/filter
@@ -33,6 +33,7 @@ fsx_args+=(-N $nr_ops)
fsx_args+=(-p $((nr_ops / 100)))
fsx_args+=(-o $op_sz)
fsx_args+=(-l $file_sz)
+test -n "$SOAK_DURATION" && fsx_args+=(--duration="$SOAK_DURATION")
run_fsx "${fsx_args[@]}" | sed -e '/^fsx.*/d'
diff --git a/tests/generic/617 b/tests/generic/617
index 3bb3112e99..a977870023 100755
--- a/tests/generic/617
+++ b/tests/generic/617
@@ -8,7 +8,7 @@
# fsx ops to limit the testing time to be an auto group test.
#
. ./common/preamble
-_begin_fstest auto rw io_uring stress
+_begin_fstest auto rw io_uring stress soak
# Import common functions.
. ./common/filter
@@ -39,6 +39,7 @@ fsx_args+=(-r $min_dio_sz)
fsx_args+=(-t $min_dio_sz)
fsx_args+=(-w $min_dio_sz)
fsx_args+=(-Z)
+test -n "$SOAK_DURATION" && fsx_args+=(--duration="$SOAK_DURATION")
run_fsx "${fsx_args[@]}" | sed -e '/^fsx.*/d'
next prev parent reply other threads:[~2023-09-01 14:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-29 23:15 [PATCHSET 0/2] fstests: io_uring tweaks Darrick J. Wong
2023-08-29 23:15 ` [PATCH 1/2] generic/61[67]: support SOAK_DURATION Darrick J. Wong
2023-08-31 14:18 ` Zorro Lang
2023-09-01 14:53 ` Darrick J. Wong [this message]
2023-09-01 15:45 ` [PATCH v2 " Zorro Lang
2023-08-29 23:15 ` [PATCH 2/2] generic: only enable io_uring in fsstress explicitly Darrick J. Wong
2023-08-30 23:10 ` Dave Chinner
2023-08-31 15:18 ` Zorro Lang
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=20230901145331.GP28186@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