linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] small optimization for accessing queue map
@ 2019-01-24 10:25 Jianchao Wang
  2019-01-24 10:25 ` [PATCH 1/2] blk-mq: save queue mapping result into ctx directly Jianchao Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jianchao Wang @ 2019-01-24 10:25 UTC (permalink / raw)
  To: axboe; +Cc: linux-block, linux-kernel

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

 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-02-01 15:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-24 10:25 [PATCH 0/2] small optimization for accessing queue map Jianchao Wang
2019-01-24 10:25 ` [PATCH 1/2] blk-mq: save queue mapping result into ctx directly Jianchao Wang
2019-01-24 10:25 ` [PATCH 2/2] blk-mq: save default hctx into ctx->hctxs for not-supported type Jianchao Wang
2019-01-24 18:08 ` [PATCH 0/2] small optimization for accessing queue map Jens Axboe
2019-02-01 15:34 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).