diff options
author | Jens Axboe <axboe@fb.com> | 2014-05-30 17:42:56 -0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-05-30 17:42:56 -0400 |
commit | feff6894128e4bb3c903ce247edc5bd3a1b09fc9 (patch) | |
tree | 6cdde3f520e915d560dd8bc056d3cfe6d2e7ae52 /block/blk-mq.c | |
parent | c7bca4183f73f9d013ea8ae572528b48b5e1ee42 (diff) |
blk-mq: remember to start timeout handler for direct queue
Commit 07068d5b8e added a direct-to-hw-queue mode, but this mode
needs to remember to add the request timeout handler as well.
Without it, we don't track timeouts for these requests.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq.c')
-rw-r--r-- | block/blk-mq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index 71f564e8812e..5443aea36542 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c | |||
@@ -1217,6 +1217,7 @@ static void blk_mq_make_request(struct request_queue *q, struct bio *bio) | |||
1217 | 1217 | ||
1218 | blk_mq_bio_to_request(rq, bio); | 1218 | blk_mq_bio_to_request(rq, bio); |
1219 | blk_mq_start_request(rq, true); | 1219 | blk_mq_start_request(rq, true); |
1220 | blk_add_timer(rq); | ||
1220 | 1221 | ||
1221 | /* | 1222 | /* |
1222 | * For OK queue, we are done. For error, kill it. Any other | 1223 | * For OK queue, we are done. For error, kill it. Any other |