Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

blk-mq: Fix the blk_mq_tagset_busy_iter() documentation

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>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Bart Van Assche and committed by
Jens Axboe
0b507305 da7b97ba

+3 -4
+3 -4
block/blk-mq-tag.c
··· 424 424 * blk_mq_tagset_busy_iter - iterate over all started requests in a tag set 425 425 * @tagset: Tag set to iterate over. 426 426 * @fn: Pointer to the function that will be called for each started 427 - * request. @fn will be called as follows: @fn(rq, @priv, 428 - * reserved) where rq is a pointer to a request. 'reserved' 429 - * indicates whether or not @rq is a reserved request. Return 430 - * true to continue iterating tags, false to stop. 427 + * request. @fn will be called as follows: @fn(rq, @priv) where 428 + * rq is a pointer to a request. Return true to continue iterating 429 + * tags, false to stop. 431 430 * @priv: Will be passed as second argument to @fn. 432 431 * 433 432 * We grab one request reference before calling @fn and release it after