提交 67ed8b73 编写于 作者: B Bart Van Assche 提交者: Jens Axboe

block: Fix a comment in blk_cleanup_queue()

Change a reference to the legacy block layer into a reference to blk-mq.
Reviewed-by: NChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Hannes Reinecke <hare@suse.com>
Cc: James Smart <james.smart@broadcom.com>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Jianchao Wang <jianchao.w.wang@oracle.com>
Cc: Dongli Zhang <dongli.zhang@oracle.com>
Signed-off-by: NBart Van Assche <bvanassche@acm.org>
Signed-off-by: NJens Axboe <axboe@kernel.dk>
上级 012d4a65
...@@ -344,7 +344,8 @@ void blk_cleanup_queue(struct request_queue *q) ...@@ -344,7 +344,8 @@ void blk_cleanup_queue(struct request_queue *q)
/* /*
* Drain all requests queued before DYING marking. Set DEAD flag to * Drain all requests queued before DYING marking. Set DEAD flag to
* prevent that q->request_fn() gets invoked after draining finished. * prevent that blk_mq_run_hw_queues() accesses the hardware queues
* after draining finished.
*/ */
blk_freeze_queue(q); blk_freeze_queue(q);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册