Thread (30 messages) 30 messages, 3 authors, 2025-08-07

Re: [PATCH 2/5] blk-mq: Pass tag_set to blk_mq_free_rq_map/tags

From: Yu Kuai <hidden>
Date: 2025-08-05 07:48:41

在 2025/08/01 19:44, Ming Lei 写道:
To prepare for converting the tag->rqs freeing to be SRCU-based, the
tag_set is needed in the freeing helper functions.

This patch adds 'struct blk_mq_tag_set *' as the first parameter to
blk_mq_free_rq_map() and blk_mq_free_tags(), and updates all their call
sites.

This allows access to the tag_set's SRCU structure in the next step,
which will be used to free the tag maps after a grace period.

No functional change is intended in this patch.

Signed-off-by: Ming Lei<redacted>
---
  block/blk-mq-sched.c |  4 ++--
  block/blk-mq-tag.c   |  2 +-
  block/blk-mq.c       | 10 +++++-----
  block/blk-mq.h       |  4 ++--
  4 files changed, 10 insertions(+), 10 deletions(-)
LGTM
Reviewed-by: Yu Kuai <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help