From: John Garry <john.g.garry@oracle.com>
To: Bart Van Assche <bvanassche@acm.org>, Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org, Christoph Hellwig <hch@lst.de>,
Christoph Hellwig <hch@infradead.org>,
Ming Lei <ming.lei@redhat.com>
Subject: Re: [PATCH] blk-mq: Fix the blk_mq_tagset_busy_iter() documentation
Date: Wed, 17 Sep 2025 08:49:10 +0100 [thread overview]
Message-ID: <d9880dd6-17ab-46f8-8385-d6080182c77a@oracle.com> (raw)
In-Reply-To: <20250916204044.4095532-1-bvanassche@acm.org>
On 16/09/2025 21:40, Bart Van Assche wrote:
> Commit 2dd6532e9591 ("blk-mq: Drop 'reserved' arg of busy_tag_iter_fn")
> removed the 'reserved' argument from tag iteration callback functions.
> Bring the blk_mq_tagset_busy_iter() documentation in sync with that
> change.
>
> Cc: Jens Axboe <axboe@kernel.dk>
> Cc: Christoph Hellwig <hch@infradead.org>
> Cc: Ming Lei <ming.lei@redhat.com>
> Cc: John Garry <john.g.garry@oracle.com>
> Signed-off-by: Bart Van Assche <bvanassche@acm.org>
> ---
> block/blk-mq-tag.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/block/blk-mq-tag.c b/block/blk-mq-tag.c
> index a63d21a4aab4..0602ca7f1e37 100644
> --- a/block/blk-mq-tag.c
> +++ b/block/blk-mq-tag.c
> @@ -424,10 +424,9 @@ void blk_mq_all_tag_iter(struct blk_mq_tags *tags, busy_tag_iter_fn *fn,
> * blk_mq_tagset_busy_iter - iterate over all started requests in a tag set
> * @tagset: Tag set to iterate over.
> * @fn: Pointer to the function that will be called for each started
> - * request. @fn will be called as follows: @fn(rq, @priv,
> - * reserved) where rq is a pointer to a request. 'reserved'
> - * indicates whether or not @rq is a reserved request. Return
> - * true to continue iterating tags, false to stop.
> + * request. @fn will be called as follows: @fn(rq, @priv) where
> + * rq is a pointer to a request. Return true to continue iterating
> + * tags, false to stop.
> * @priv: Will be passed as second argument to @fn.
> *
> * We grab one request reference before calling @fn and release it after
I see other users of busy_tag_iter_fn which need the documentation
updated, like blk_mq_queue_tag_busy_iter() and blk_mq_all_tag_iter().
Please consider updating them also, thanks
next prev parent reply other threads:[~2025-09-17 7:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-16 20:40 [PATCH] blk-mq: Fix the blk_mq_tagset_busy_iter() documentation Bart Van Assche
2025-09-17 0:45 ` Martin K. Petersen
2025-09-17 3:44 ` Ming Lei
2025-09-17 7:49 ` John Garry [this message]
2025-09-17 13:27 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d9880dd6-17ab-46f8-8385-d6080182c77a@oracle.com \
--to=john.g.garry@oracle.com \
--cc=axboe@kernel.dk \
--cc=bvanassche@acm.org \
--cc=hch@infradead.org \
--cc=hch@lst.de \
--cc=linux-block@vger.kernel.org \
--cc=ming.lei@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox