From: Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>
To: Daniel Wagner <dwagner@suse.de>
Cc: "linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
"linux-nvme@lists.infradead.org" <linux-nvme@lists.infradead.org>
Subject: Re: [PATCH blktests 0/3] fix module unload failures
Date: Mon, 2 Mar 2026 00:30:41 +0000 [thread overview]
Message-ID: <aaTaDa3m7dAIE2ix@shinmob> (raw)
In-Reply-To: <ad4c1108-8604-4a09-b3fb-e8f77a4abbcf@flourine.local>
On Feb 24, 2026 / 17:40, Daniel Wagner wrote:
> On Mon, Feb 23, 2026 at 12:50:20PM +0900, Shin'ichiro Kawasaki wrote:
[...]
> > From these observations, I identified two problems below.
> >
> > 1) The requirement check for the loop transport left the nvmet and nvme-
> > loop modules loaded and it affected the following test. In the
> > current implementation, the helper function _unload_modules() is
> > called once, only after nvme/060 has been executed for all specified
> > transport types. Instead, _unload_modules() should be called after
> > each run of test test case for every transport. This ensures that the
> > modules loaded for the requirement check are unloaded.
> >
> > 2) When _setup_nvmet() does not load the nvmet module, there is no need
> > for _cleanup_nvmet() to attempts to unload it. _cleanup_nvmet()
> > should unload a module only if it was loaded by _setup_nvmet().
> >
> > This series addresses these two problems. The first patch fixes the
> > first problem. The other two patches fix the second problem.
>
> Looks good to me.
>
> Reviewed-by: Daniel Wagner <dwagner@suse.de>
Thanks for the review. FYI, I applied the patches.
prev parent reply other threads:[~2026-03-02 0:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-23 3:50 [PATCH blktests 0/3] fix module unload failures Shin'ichiro Kawasaki
2026-02-23 3:50 ` [PATCH blktests 1/3] check: call _unload_modules for each test run Shin'ichiro Kawasaki
2026-02-23 3:50 ` [PATCH blktests 2/3] common/rc: introduce _load_module() Shin'ichiro Kawasaki
2026-02-23 3:50 ` [PATCH blktests 3/3] common/nvme: unload nvme modules only when loaded Shin'ichiro Kawasaki
2026-02-24 16:40 ` [PATCH blktests 0/3] fix module unload failures Daniel Wagner
2026-03-02 0:30 ` Shinichiro Kawasaki [this message]
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=aaTaDa3m7dAIE2ix@shinmob \
--to=shinichiro.kawasaki@wdc.com \
--cc=dwagner@suse.de \
--cc=linux-block@vger.kernel.org \
--cc=linux-nvme@lists.infradead.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