diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-05-30 20:00:53 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-05-31 17:12:34 -0400 |
commit | cd669f88b13474b7b65396d6413be973b7074ba1 (patch) | |
tree | 3a0f5c406a2ceea34255a6714cc149bfb78cf556 | |
parent | ef025d7ec2fc433e7db76afd74493aaa9a59d921 (diff) |
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 <chiatanya.kulkarni@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | block/blk-mq-cpumap.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/block/blk-mq-cpumap.c b/block/blk-mq-cpumap.c index 0afa4dc48365..f945621a0e8f 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) | |||
60 | } | 60 | } |
61 | EXPORT_SYMBOL_GPL(blk_mq_map_queues); | 61 | EXPORT_SYMBOL_GPL(blk_mq_map_queues); |
62 | 62 | ||
63 | /* | 63 | /** |
64 | * blk_mq_hw_queue_to_node - Look up the memory node for a hardware queue index | ||
65 | * @qmap: CPU to hardware queue map. | ||
66 | * @index: hardware queue index. | ||
67 | * | ||
64 | * We have no quick way of doing reverse lookups. This is only used at | 68 | * We have no quick way of doing reverse lookups. This is only used at |
65 | * queue init time, so runtime isn't important. | 69 | * queue init time, so runtime isn't important. |
66 | */ | 70 | */ |