diff mbox series

[v3,6/6] blk-mq-tag: fix blk_mq_queue_tag_busy_iter() documentation

Message ID 20230823151803.926382-7-chengming.zhou@linux.dev (mailing list archive)
State New, archived
Headers show
Series blk-mq-tag: remove bt_for_each() | expand

Commit Message

Chengming Zhou Aug. 23, 2023, 3:18 p.m. UTC
From: Chengming Zhou <zhouchengming@bytedance.com>

The blk_mq_queue_tag_busy_iter() is only used to iterate over reqeusts
of the specified queue, fix the documentation.

Fixes: c7b1bf5cca76 ("blk-mq: Document the functions that iterate over requests")
Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
---
 block/blk-mq-tag.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Bart Van Assche Aug. 23, 2023, 3:26 p.m. UTC | #1
On 8/23/23 08:18, chengming.zhou@linux.dev wrote:
> The blk_mq_queue_tag_busy_iter() is only used to iterate over reqeusts
> of the specified queue, fix the documentation.

Reviewed-by: Bart Van Assche <bvanassche@acm.org>
diff mbox series

Patch

diff --git a/block/blk-mq-tag.c b/block/blk-mq-tag.c
index 0d42f3c4d76e..69b156750559 100644
--- a/block/blk-mq-tag.c
+++ b/block/blk-mq-tag.c
@@ -433,8 +433,7 @@  EXPORT_SYMBOL(blk_mq_tagset_wait_completed_request);
  * @priv:	Will be passed as second argument to @fn.
  *
  * Note: if @q->tag_set is shared with other request queues then @fn will be
- * called for all requests on all queues that share that tag set and not only
- * for requests associated with @q.
+ * called only for requests associated with @q.
  */
 void blk_mq_queue_tag_busy_iter(struct request_queue *q, busy_tag_iter_fn *fn,
 		void *priv)