Messages in this thread | | | Date | Fri, 03 Jan 2014 10:03:29 -0700 | From | Jens Axboe <> | Subject | Re: [PATCH] block: blk-mq: fix initializing request's start time |
| |
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
| |