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
> f
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.
Cc: Jens Axboe
Signed-off-by: Ming
2 matches
Mail list logo