block: fix warning on 'make htmldocs'
authorMing Lei <ming.lei@redhat.com>
Wed, 7 May 2025 09:25:37 +0000 (17:25 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 May 2025 11:37:39 +0000 (05:37 -0600)
Fix the following warning when running 'make htmldocs':

+WARNING: include/linux/blk-mq.h:532 struct member 'update_nr_hwq_lock' not described in 'blk_mq_tag_set'

Fixes: 98e68f67020c ("block: prevent adding/deleting disk during updating nr_hw_queues")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/all/20250507163220.00141d77@canb.auug.org.au/
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250507092537.3009112-1-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blk-mq.h

index ef84d53095a6a1a5a8b8015cc4eea5fc5a9b3394..906bf330ffb5e6c8b258861013483d100753b806 100644 (file)
@@ -507,6 +507,9 @@ enum hctx_type {
  *                request_queue.tag_set_list.
  * @srcu:         Use as lock when type of the request queue is blocking
  *                (BLK_MQ_F_BLOCKING).
+ * @update_nr_hwq_lock:
+ *                Synchronize updating nr_hw_queues with add/del disk &
+ *                switching elevator.
  */
 struct blk_mq_tag_set {
        const struct blk_mq_ops *ops;