Re: [PATCH] block: Remove 'plug/unplug' comment in blk_execute_rq_nowait.

From: Tao Ma
Date: Thu May 05 2011 - 11:59:45 EST


Jens,
Is it ok to be merged?
On 04/25/2011 11:55 PM, Tao Ma wrote:
> From: Tao Ma <boyu.mt@xxxxxxxxxx>
>
> unplug is replaced with blk_run_queue now in blk_execute_rq_nowait,
> so change the comment accordingly.
>
> Signed-off-by: Tao Ma <boyu.mt@xxxxxxxxxx>
> ---
> block/blk-exec.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/block/blk-exec.c b/block/blk-exec.c
> index 81e3181..d36bfbb 100644
> --- a/block/blk-exec.c
> +++ b/block/blk-exec.c
> @@ -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);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/