commit | f6be4fb4bcb396fc3b1c134b7863351972de081f | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Fri Jun 06 11:03:48 2014 -0600 |
committer | Jens Axboe <axboe@fb.com> | Fri Jun 06 11:05:25 2014 -0600 |
tree | 26805801b0e62474c4e70bfbf5e32512d6271efa | |
parent | 3b632cf0eaa2e89a12c18f043e6e7c5bcc003645 [diff] |
blk-mq: ->timeout should be cleared in blk_mq_rq_ctx_init() It'll be used in blk_mq_start_request() to set a potential timeout for the request, so clear it to zero at alloc time to ensure that we know if someone has set it or not. Fixes random early timeouts on NVMe testing. Signed-off-by: Jens Axboe <axboe@fb.com>