Re: [PATCH] block: blk-mq: fix initializing request's start time

From: Jens Axboe
Date: Fri Jan 03 2014 - 12:04:20 EST


On 01/03/2014 04:29 AM, Ming Lei wrote:
> blk_rq_init() is called in req's complete handler to initialize
> the request, so the members of start_time and start_time_ns might
> become inaccurate when it is allocated in future.
>
> The patch initializes the two members in blk_mq_rq_ctx_init() to
> fix the problem.

Thanks, applied!

--
Jens Axboe

--
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/