Thread (30 messages) 30 messages, 2 authors, 2021-09-20

Re: [PATCH RESEND v3 11/13] blk-mq: Refactor and rename blk_mq_free_map_and_{requests->rqs}()

From: Hannes Reinecke <hare@suse.de>
Date: 2021-09-14 05:50:25
Also in: linux-scsi, lkml

On 9/13/21 5:12 PM, John Garry wrote:
Refactor blk_mq_free_map_and_requests() such that it can be used at many
sites at which the tag map and rqs are freed.

Also rename to blk_mq_free_map_and_rqs(), which is shorter and matches the
alloc equivalent.

Suggested-by: Ming Lei <redacted>
Signed-off-by: John Garry <redacted>
---
  block/blk-mq-tag.c |  3 +--
  block/blk-mq.c     | 40 ++++++++++++++++++++++++----------------
  block/blk-mq.h     |  4 +++-
  3 files changed, 28 insertions(+), 19 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
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