mbox series

[0/2] blk-mq: small optimization for accessing of queue map

Message ID 1545876041-16076-1-git-send-email-jianchao.w.wang@oracle.com (mailing list archive)
Headers show
Series blk-mq: small optimization for accessing of queue map | expand

Message

jianchao.wang Dec. 27, 2018, 2 a.m. UTC
Hi Jens

These two patches are small optimization for accessing the queue mapping
in hot path. It saves the queue mapping results into blk_mq_ctx directly,
then we needn't do the complicated bounce on queue_hw_ctx[] map[] and
mq_map[].

Jianchao Wang(2)
  blk-mq: save queue mapping result into ctx directly
  blk-mq: save default hctx into ctx->hctxs for not-supported type

block/blk-mq-sched.c |  2 +-
block/blk-mq-tag.c   |  2 +-
block/blk-mq.c       | 13 ++++++++++---
block/blk-mq.h       | 20 +++++++++-----------
block/blk.h          |  2 +-
5 files changed, 22 insertions(+), 17 deletions(-)

Thanks
Jianchao