From: Chao Yu <chao@kernel.org>
To: Zorro Lang <zlang@kernel.org>, fstests@vger.kernel.org
Cc: jaegeuk@kernel.org, linux-f2fs-devel@lists.sourceforge.net,
Chao Yu <chao@kernel.org>
Subject: [PATCH] f2fs/009: use common _scratch_shutdown helper
Date: Mon, 15 Jun 2026 09:05:58 +0000 [thread overview]
Message-ID: <20260615090558.1627456-1-chao@kernel.org> (raw)
f2fs has supported ioctl(_IOR ('X', 125, uint32_t)), so that
"f2fs_io shutdown" can be completely replaced w/ _scratch_shutdown(),
let's clean up in f2fs/009.
Suggested-by: Zorro Lang <zlang@kernel.org>
Signed-off-by: Chao Yu <chao@kernel.org>
---
tests/f2fs/009 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/f2fs/009 b/tests/f2fs/009
index fa4a39d16..39a4bad3d 100755
--- a/tests/f2fs/009
+++ b/tests/f2fs/009
@@ -12,6 +12,7 @@
_begin_fstest auto quick
_require_scratch
+_require_scratch_shutdown
_require_inject_f2fs_command node i_links
_require_command "$(type -P socket)" socket
@@ -106,7 +107,7 @@ ino=`stat -c '%i' $filename`
$F2FS_IO_PROG write 1 0 1 zero atomic_commit $filename 5000 >> $seqres.full 2>&1 &
stat $filename >> $seqres.full
rm $filename
-$F2FS_IO_PROG shutdown 1 $SCRATCH_MNT/ >> $seqres.full
+_scratch_shutdown -f
sleep 6
check_links 1 0 $ino
--
2.49.0
next reply other threads:[~2026-06-15 9:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-15 9:05 Chao Yu [this message]
2026-06-16 6:06 ` [PATCH] f2fs/009: use common _scratch_shutdown helper 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=20260615090558.1627456-1-chao@kernel.org \
--to=chao@kernel.org \
--cc=fstests@vger.kernel.org \
--cc=jaegeuk@kernel.org \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--cc=zlang@kernel.org \
/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