diff options
| author | Yu Kuai <[email protected]> | 2025-07-29 02:32:29 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-07-29 12:26:34 +0000 |
| commit | 5421681bc3ef13476bd9443379cd69381e8760fa (patch) | |
| tree | c93edc86cba65073358ef647a77b8066cb820786 /tools/perf/scripts/python/gecko.py | |
| parent | block: Enforce power-of-2 physical block size (diff) | |
| download | kernel-5421681bc3ef13476bd9443379cd69381e8760fa.tar.gz kernel-5421681bc3ef13476bd9443379cd69381e8760fa.zip | |
blk-ioc: don't hold queue_lock for ioc_lookup_icq()
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].
[1] https://lore.kernel.org/all/[email protected]/
Signed-off-by: Yu Kuai <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
