diff options
author | 2025-08-14 13:54:57 +0530 | |
---|---|---|
committer | 2025-08-21 07:11:11 -0600 | |
commit | 275332877e2fa9d6efa7402b1e897f6c6ee695bb (patch) | |
tree | fbbb29290a1ad09ab21eb2507a6f37fb4a656cfb /tools/perf/scripts/python/Perf-Trace-Util | |
parent | blk-mq: fix lockdep warning in __blk_mq_update_nr_hw_queues (diff) | |
download | wireguard-linux-275332877e2fa9d6efa7402b1e897f6c6ee695bb.tar.xz wireguard-linux-275332877e2fa9d6efa7402b1e897f6c6ee695bb.zip |
block: skip q->rq_qos check in rq_qos_done_bio()
If a bio has BIO_QOS_THROTTLED or BIO_QOS_MERGED set,
it implicitly guarantees that q->rq_qos is present.
Avoid re-checking q->rq_qos in this case and call
__rq_qos_done_bio() directly as a minor optimization.
Suggested-by : Yu Kuai <yukuai1@huaweicloud.com>
Signed-off-by: Nilay Shroff <nilay@linux.ibm.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20250814082612.500845-2-nilay@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions