Skip to contentSkip to conversation

block: Remove 'plug/unplug' comment in blk_execute_rq_nowait.

PATCH In review Tao Ma 2 participants 3 messages Apr 25, 2011 – May 5, 2011 Block layer

lore
Share & tools
lore

Tao Ma

author
#0 lore raw

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.

---
 block/blk-exec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
block/blk-exec.c +1 -1
index 81e3181..d36bfbb 100644
@@ -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
author
#1 lore raw

Jens,
Is it ok to be merged?

Quoted 23 lines · Tao Ma

From: Tao Ma <[email protected]>

unplug is replaced with blk_run_queue now in blk_execute_rq_nowait, so change the comment accordingly.

---
 block/blk-exec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
block/blk-exec.c +1 -1
index 81e3181..d36bfbb 100644
@@ -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);
maintainer
#2 lore raw
Quoted 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