blk-mq: allow setting of per-request timeouts
authorJens Axboe <axboe@fb.com>
Fri, 23 May 2014 20:14:57 +0000 (14:14 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 23 May 2014 20:14:57 +0000 (14:14 -0600)
Currently blk-mq uses the queue timeout for all requests. But
for some commands, drivers may want to set a specific timeout
for special requests. Allow this to be passed in through
request->timeout, and use it if set.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c

diff --cc block/blk-mq.c
Simple merge