block: Remove 'plug/unplug' comment in blk_execute_rq_nowait.
PATCH 1/1 block: Remove 'plug/unplug' comment in blk_execute_rq_nowait.
From: Tao Ma <[email protected]>
unplug is replaced with blk_run_queue now in blk_execute_rq_nowait, so change the comment accordingly.
Signed-off-by Tao Ma <[email protected]>
--- block/blk-exec.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
block/blk-exec.c +1 -1
@@ -56,7 +56,7 @@ void blk_execute_rq_nowait(struct request_queue *q, struct gendisk *bd_disk,spin_lock_irq (q->queue_lock);__elv_add_request (q, rq, where);__blk_run_queue (q); -/* the queue is stopped so it won't be plugged+unplugged */ +/* the queue is stopped so it won't be runned */ if (rq->cmd_type ==REQ_TYPE_PM_RESUME ) q->request_fn (q);spin_unlock_irq (q->queue_lock);
Signature · 1 line
1.7.1
Jens,
Is it ok to be merged?
Quoted 23 lines · Tao Ma
From: Tao Ma <[email protected]>
unplug is replaced with
blk_run_queuenow inblk_execute_rq_nowait, so change the comment accordingly.Signed-off-by Tao Ma <[email protected]>--- block/blk-exec.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)block/blk-exec.c +1
-1@@ -56,7 +56,7 @@ void blk_execute_rq_nowait(struct request_queue *q, struct gendisk *bd_disk,spin_lock_irq (q->queue_lock);__elv_add_request (q, rq, where);__blk_run_queue (q); -/* the queue is stopped so it won't be plugged+unplugged */ +/* the queue is stopped so it won't be runned */ if (rq->cmd_type ==REQ_TYPE_PM_RESUME ) q->request_fn (q);spin_unlock_irq (q->queue_lock);
Jens Axboe
maintainerQuoted 2 lines · Tao Ma
Jens,
Is it ok to be merged?
Yes, I will merge it in. I'll change the wording a little bit, it should be 'run' not 'runned'.
Signature · 1 line
Jens Axboe