在 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>