[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 05 May 2011 23:59:31 +0800
From: Tao Ma <tm@....ma>
To: linux-kernel@...r.kernel.org
CC: axboe@...nel.dk
Subject: Re: [PATCH] block: Remove 'plug/unplug' comment in blk_execute_rq_nowait.
Jens,
Is it ok to be merged?
On 04/25/2011 11:55 PM, Tao Ma wrote:
> From: Tao Ma <boyu.mt@...bao.com>
>
> 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@...bao.com>
> ---
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists