Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 605f784e authored by Pavel Begunkov's avatar Pavel Begunkov Committed by Jens Axboe
Browse files

block: blk_mq_rq_ctx_init cache ctx/q/hctx


We should have enough of registers in blk_mq_rq_ctx_init(), store them
in local vars, so we don't keep reloading them.

note: keeping q->elevator may look unnecessary, but it's also used
inside inlined blk_mq_tags_from_data().

Signed-off-by: default avatarPavel Begunkov <asml.silence@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 4f266f2b
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment