linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* avoid a few q_usage_counter roundtrips v3
@ 2020-05-16 18:27 Christoph Hellwig
  2020-05-16 18:27 ` [PATCH 1/4] blk-mq: move the call to blk_queue_enter_live out of blk_mq_get_request Christoph Hellwig
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Christoph Hellwig @ 2020-05-16 18:27 UTC (permalink / raw)
  To: axboe; +Cc: linux-block

Hi Jens,

the way we track reference on q_usage_counter is a little weird at the
moment, in that we often have to grab another reference in addition to
the current one.  This small series reshuffles that to avoid the extra
references in the normal I/O path.

Changes since v2:
 - increase the q_usage_counter critical section a bit in
   blk_mq_alloc_request_hctx

Changes since v1:
 - rebased to the lastest for-5.8/block tree with the blk-crypt addition

^ permalink raw reply	[flat|nested] 10+ messages in thread
* avoid a few q_usage_counter roundtrips v2
@ 2020-05-16 15:34 Christoph Hellwig
  2020-05-16 15:34 ` [PATCH 3/4] blk-mq: remove a pointless queue enter pair in blk_mq_alloc_request_hctx Christoph Hellwig
  0 siblings, 1 reply; 10+ messages in thread
From: Christoph Hellwig @ 2020-05-16 15:34 UTC (permalink / raw)
  To: axboe; +Cc: linux-block

Hi Jens,

the way we track reference on q_usage_counter is a little weird at the
moment, in that we often have to grab another reference in addition to
the current one.  This small series reshuffles that to avoid the extra
references in the normal I/O path.

Changes since v1:
 - rebased to the lastest for-5.8/block tree with the blk-crypt addition

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

end of thread, other threads:[~2020-05-19 15:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-16 18:27 avoid a few q_usage_counter roundtrips v3 Christoph Hellwig
2020-05-16 18:27 ` [PATCH 1/4] blk-mq: move the call to blk_queue_enter_live out of blk_mq_get_request Christoph Hellwig
2020-05-16 18:27 ` [PATCH 2/4] blk-mq: remove a pointless queue enter pair in blk_mq_alloc_request Christoph Hellwig
2020-05-16 18:28 ` [PATCH 3/4] blk-mq: remove a pointless queue enter pair in blk_mq_alloc_request_hctx Christoph Hellwig
2020-05-16 18:44   ` Bart Van Assche
2020-05-16 18:28 ` [PATCH 4/4] blk-mq: allow blk_mq_make_request to consume the q_usage_counter reference Christoph Hellwig
2020-05-19 15:43 ` avoid a few q_usage_counter roundtrips v3 Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2020-05-16 15:34 avoid a few q_usage_counter roundtrips v2 Christoph Hellwig
2020-05-16 15:34 ` [PATCH 3/4] blk-mq: remove a pointless queue enter pair in blk_mq_alloc_request_hctx Christoph Hellwig
2020-05-16 16:28   ` Bart Van Assche
2020-05-16 17:31     ` Christoph Hellwig

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