From: Jens Axboe <axboe@kernel.dk>
To: linux-block@vger.kernel.org, Nilay Shroff <nilay@linux.ibm.com>
Cc: hch@lst.de, ming.lei@redhat.com, hare@suse.de, gjoyce@ibm.com
Subject: Re: [PATCH] block: fix module reference leak in mq-deadline I/O scheduler
Date: Mon, 21 Jul 2025 06:48:40 -0600 [thread overview]
Message-ID: <175310212098.555365.1305613262179721091.b4-ty@kernel.dk> (raw)
In-Reply-To: <20250719132722.769536-1-nilay@linux.ibm.com>
On Sat, 19 Jul 2025 18:56:47 +0530, Nilay Shroff wrote:
> During probe, when the block layer registers a request queue, it
> defaults to the mq-deadline I/O scheduler if the device is single-queue
> and the mq-deadline module is available. To determine availability, the
> elevator_set_default() invokes elevator_find_get(), which increments the
> module's reference count. However, this reference is never released,
> resulting in a module reference leak that prevents the mq-deadline module
> from being unloaded.
>
> [...]
Applied, thanks!
[1/1] block: fix module reference leak in mq-deadline I/O scheduler
commit: 1966554b2e82b89d4f6490f430ce76a379e23f1f
Best regards,
--
Jens Axboe
prev parent reply other threads:[~2025-07-21 12:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-19 13:26 [PATCH] block: fix module reference leak in mq-deadline I/O scheduler Nilay Shroff
2025-07-20 12:22 ` Ming Lei
2025-07-21 7:14 ` Hannes Reinecke
2025-07-21 12:48 ` Jens Axboe [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=175310212098.555365.1305613262179721091.b4-ty@kernel.dk \
--to=axboe@kernel.dk \
--cc=gjoyce@ibm.com \
--cc=hare@suse.de \
--cc=hch@lst.de \
--cc=linux-block@vger.kernel.org \
--cc=ming.lei@redhat.com \
--cc=nilay@linux.ibm.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