From: Jens Axboe <axboe@kernel.dk>
To: jack@suse.cz, dlemoal@kernel.org, Yu Kuai <yukuai1@huaweicloud.com>
Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
yukuai3@huawei.com, yi.zhang@huawei.com, yangerkun@huawei.com,
johnny.chenyi@huawei.com
Subject: Re: [PATCH v3] blk-ioc: don't hold queue_lock for ioc_lookup_icq()
Date: Tue, 29 Jul 2025 06:27:13 -0600 [thread overview]
Message-ID: <175379203368.176672.14343982267949571023.b4-ty@kernel.dk> (raw)
In-Reply-To: <20250729023229.2944898-1-yukuai1@huaweicloud.com>
On Tue, 29 Jul 2025 10:32:29 +0800, Yu Kuai wrote:
> Currently issue io can grab queue_lock three times from bfq_bio_merge(),
> bfq_limit_depth() and bfq_prepare_request(), the queue_lock is not
> necessary if icq is already created because both queue and ioc can't be
> freed before io issuing is done, hence remove the unnecessary queue_lock
> and use rcu to protect radix tree lookup.
>
> Noted this is also a prep patch to support request batch dispatching[1].
>
> [...]
Applied, thanks!
[1/1] blk-ioc: don't hold queue_lock for ioc_lookup_icq()
(no commit info)
Best regards,
--
Jens Axboe
prev parent reply other threads:[~2025-07-29 12:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-29 2:32 Yu Kuai
2025-07-29 12:27 ` 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=175379203368.176672.14343982267949571023.b4-ty@kernel.dk \
--to=axboe@kernel.dk \
--cc=dlemoal@kernel.org \
--cc=jack@suse.cz \
--cc=johnny.chenyi@huawei.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=yangerkun@huawei.com \
--cc=yi.zhang@huawei.com \
--cc=yukuai1@huaweicloud.com \
--cc=yukuai3@huawei.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
all inboxes | Powered by JetHome®