linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] blk-mq: small optimization for accessing of queue map
@ 2018-12-27  2:00 Jianchao Wang
  2018-12-27  2:00 ` [PATCH 1/2] blk-mq: save queue mapping result into ctx directly Jianchao Wang
  2018-12-27  2:00 ` [PATCH 2/2] blk-mq: save default hctx into ctx->hctxs for not-supported type Jianchao Wang
  0 siblings, 2 replies; 4+ messages in thread
From: Jianchao Wang @ 2018-12-27  2:00 UTC (permalink / raw)
  To: axboe; +Cc: ming.lei, 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 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
 

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [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
  0 siblings, 1 reply; 4+ 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] 4+ messages in thread

end of thread, other threads:[~2019-01-24 10:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-27  2:00 [PATCH 0/2] blk-mq: small optimization for accessing of queue map Jianchao Wang
2018-12-27  2:00 ` [PATCH 1/2] blk-mq: save queue mapping result into ctx directly Jianchao Wang
2018-12-27  2:00 ` [PATCH 2/2] blk-mq: save default hctx into ctx->hctxs for not-supported type Jianchao Wang
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

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).