Commit 3c073d3
Ming Lei
blk-mq: Pass tag_set to blk_mq_free_rq_map/tags
JIRA: https://issues.redhat.com/browse/RHEL-120078
commit 9ad8e5a
Author: Ming Lei <ming.lei@redhat.com>
Date: Sat Aug 30 10:18:20 2025 +0800
blk-mq: Pass tag_set to blk_mq_free_rq_map/tags
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.
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Ming Lei <ming.lei@redhat.com>1 parent 12fa57b commit 3c073d3
3 files changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
579 | | - | |
| 579 | + | |
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3487 | 3487 | | |
3488 | 3488 | | |
3489 | 3489 | | |
3490 | | - | |
| 3490 | + | |
3491 | 3491 | | |
3492 | 3492 | | |
3493 | 3493 | | |
3494 | 3494 | | |
3495 | 3495 | | |
3496 | 3496 | | |
3497 | | - | |
| 3497 | + | |
3498 | 3498 | | |
3499 | 3499 | | |
3500 | 3500 | | |
| |||
3556 | 3556 | | |
3557 | 3557 | | |
3558 | 3558 | | |
3559 | | - | |
| 3559 | + | |
3560 | 3560 | | |
3561 | 3561 | | |
3562 | 3562 | | |
| |||
4103 | 4103 | | |
4104 | 4104 | | |
4105 | 4105 | | |
4106 | | - | |
| 4106 | + | |
4107 | 4107 | | |
4108 | 4108 | | |
4109 | 4109 | | |
| |||
4131 | 4131 | | |
4132 | 4132 | | |
4133 | 4133 | | |
4134 | | - | |
| 4134 | + | |
4135 | 4135 | | |
4136 | 4136 | | |
4137 | 4137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
0 commit comments