diff options
| author | Nilay Shroff <[email protected]> | 2025-08-14 08:24:57 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-08-21 13:11:11 +0000 |
| commit | 275332877e2fa9d6efa7402b1e897f6c6ee695bb (patch) | |
| tree | fbbb29290a1ad09ab21eb2507a6f37fb4a656cfb /scripts/generate_rust_target.rs | |
| parent | blk-mq: fix lockdep warning in __blk_mq_update_nr_hw_queues (diff) | |
| download | kernel-275332877e2fa9d6efa7402b1e897f6c6ee695bb.tar.gz kernel-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 <[email protected]>
Signed-off-by: Nilay Shroff <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Reviewed-by: Yu Kuai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
