commit | 605f784e4f5faecf6c78070c6bf446e920104f9f | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Mon Oct 18 21:37:28 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Oct 18 14:38:43 2021 -0600 |
tree | e77af8a4e1ee350a3a05be6f1075c1e05eab8f48 | |
parent | 4f266f2be822eacd70aca2a7a53c4a111be79acb [diff] |
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: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>