From: Ming Lei <ming.lei@redhat.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: Christoph Hellwig <hch@lst.de>,
linux-block@vger.kernel.org, Ming Lei <ming.lei@redhat.com>
Subject: [PATCH V2 0/3] blk-mq: three misc patches
Date: Wed, 15 Jun 2022 14:48:23 +0800 [thread overview]
Message-ID: <20220615064826.773067-1-ming.lei@redhat.com> (raw)
Hello Guys,
The 1st two patches make referring to q->elevator more reliable, and
avoid potential use-after-free on q->elevator in two code paths.
The 3rd patch improves boot time for scsi host with lots of hw queues.
V2:
- follow Christoph's suggestion to set QUEUE_FLAG_SQ_SCHED inside
mq-deadline and bfq directly
Ming Lei (3):
blk-mq: protect q->elevator by ->sysfs_lock in blk_mq_elv_switch_none
blk-mq: avoid to touch q->elevator without any protection
blk-mq: don't clear flush_rq from tags->rqs[]
block/bfq-iosched.c | 3 +++
block/blk-mq.c | 27 ++++++++-------------------
block/kyber-iosched.c | 1 -
block/mq-deadline.c | 3 +++
include/linux/blkdev.h | 4 ++--
5 files changed, 16 insertions(+), 22 deletions(-)
--
2.31.1
next reply other threads:[~2022-06-15 6:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-15 6:48 Ming Lei [this message]
2022-06-15 6:48 ` [PATCH V2 1/3] blk-mq: protect q->elevator by ->sysfs_lock in blk_mq_elv_switch_none Ming Lei
2022-06-15 6:48 ` [PATCH V2 2/3] blk-mq: avoid to touch q->elevator without any protection Ming Lei
2022-06-15 6:50 ` Christoph Hellwig
2022-06-15 6:56 ` Ming Lei
2022-06-15 6:48 ` [PATCH V2 3/3] blk-mq: don't clear flush_rq from tags->rqs[] Ming Lei
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=20220615064826.773067-1-ming.lei@redhat.com \
--to=ming.lei@redhat.com \
--cc=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=linux-block@vger.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;
as well as URLs for NNTP newsgroup(s).