From: Bart Van Assche Date: Fri, 31 May 2019 00:00:53 +0000 (-0700) Subject: blk-mq: Document the blk_mq_hw_queue_to_node() arguments X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=cd669f88b13474b7b65396d6413be973b7074ba1;p=linux.git blk-mq: Document the blk_mq_hw_queue_to_node() arguments Document the meaning of the blk_mq_hw_queue_to_node() arguments. Reviewed-by: Chaitanya Kulkarni Signed-off-by: Bart Van Assche Signed-off-by: Jens Axboe --- diff --git a/block/blk-mq-cpumap.c b/block/blk-mq-cpumap.c index 0afa4dc483656..f945621a0e8f2 100644 --- a/block/blk-mq-cpumap.c +++ b/block/blk-mq-cpumap.c @@ -60,7 +60,11 @@ int blk_mq_map_queues(struct blk_mq_queue_map *qmap) } EXPORT_SYMBOL_GPL(blk_mq_map_queues); -/* +/** + * blk_mq_hw_queue_to_node - Look up the memory node for a hardware queue index + * @qmap: CPU to hardware queue map. + * @index: hardware queue index. + * * We have no quick way of doing reverse lookups. This is only used at * queue init time, so runtime isn't important. */