projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7bca41
)
blk-mq: remember to start timeout handler for direct queue
author
Jens Axboe
<axboe@fb.com>
Fri, 30 May 2014 21:42:56 +0000
(15:42 -0600)
committer
Jens Axboe
<axboe@fb.com>
Fri, 30 May 2014 21:42:56 +0000
(15:42 -0600)
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>
block/blk-mq.c
patch
|
blob
|
history
diff --git
a/block/blk-mq.c
b/block/blk-mq.c
index 71f564e8812e2258d80a747f327a06673d2f0908..5443aea36542ec5200957c5c9570d81355f00713 100644
(file)
--- 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)
blk_mq_bio_to_request(rq, bio);
blk_mq_start_request(rq, true);
+ blk_add_timer(rq);
/*
* For OK queue, we are done. For error, kill it. Any other