提交 a68aafa5 编写于 作者: J Jens Axboe

blk-mq: correct a few wrong/bad comments

Just grammar or spelling errors, nothing major.
Signed-off-by: NJens Axboe <axboe@fb.com>
上级 16f408dc
......@@ -1580,7 +1580,7 @@ static int blk_mq_init_hw_queues(struct request_queue *q,
hctx->tags = set->tags[i];
/*
* Allocate space for all possible cpus to avoid allocation in
* Allocate space for all possible cpus to avoid allocation at
* runtime
*/
hctx->ctxs = kmalloc_node(nr_cpu_ids * sizeof(void *),
......@@ -1668,8 +1668,8 @@ static void blk_mq_map_swqueue(struct request_queue *q)
queue_for_each_hw_ctx(q, hctx, i) {
/*
* If not software queues are mapped to this hardware queue,
* disable it and free the request entries
* If no software queues are mapped to this hardware queue,
* disable it and free the request entries.
*/
if (!hctx->nr_ctx) {
struct blk_mq_tag_set *set = q->tag_set;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册