Thread (12 messages) read the whole thread 12 messages, 3 authors, 2020-06-30

Re: [PATCH 1/3] blk-mq: move blk_mq_get_driver_tag into blk-mq.c

From: Hannes Reinecke <hare@suse.de>
Date: 2020-06-30 06:10:29

On 6/30/20 4:23 AM, Ming Lei wrote:
blk_mq_get_driver_tag() is only used by blk-mq.c and is supposed to
stay in blk-mq.c, so move it and preparing for cleanup code of
get/put driver tag.

Meantime hctx_may_queue() is moved to header file and it is fine
since it is defined as inline always.

No functional change.

Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Ming Lei <redacted>
---
  block/blk-mq-tag.c | 58 ----------------------------------------------
  block/blk-mq-tag.h | 39 ++++++++++++++++++++++++-------
  block/blk-mq.c     | 34 +++++++++++++++++++++++++++
  3 files changed, 65 insertions(+), 66 deletions(-)
Curiously; I stumbled across this yesterday, too.
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke            Teamlead Storage & Networking
hare@suse.de                               +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help