Re: [PATCH v3] blk-ioc: don't hold queue_lock for ioc_lookup_icq()
From: Jens Axboe
Date: Tue Jul 29 2025 - 08:27:33 EST
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