summaryrefslogtreecommitdiffstats
path: root/block/blk-mq.c
diff options
context:
space:
mode:
authorMing Lei2014-09-19 15:53:46 +0200
committerJens Axboe2014-09-22 20:00:08 +0200
commit5e940aaa597c15e916618240ae5838864f36c91e (patch)
tree7b38546a459da2783a5f07de301eb11756ac66d3 /block/blk-mq.c
parentblk-mq: limit memory consumption if a crash dump is active (diff)
downloadkernel-qcow2-linux-5e940aaa597c15e916618240ae5838864f36c91e.tar.gz
kernel-qcow2-linux-5e940aaa597c15e916618240ae5838864f36c91e.tar.xz
kernel-qcow2-linux-5e940aaa597c15e916618240ae5838864f36c91e.zip
blk-timeout: fix blk_add_timer
Commit 8cb34819cdd5d(blk-mq: unshared timeout handler) introduces blk-mq's own timeout handler, and removes following line: blk_queue_rq_timed_out(q, blk_mq_rq_timed_out); which then causes blk_add_timer() to bypass adding the timer, since blk-mq no longer has q->rq_timed_out_fn defined. This patch fixes the problem by bypassing the check for blk-mq, so that both request deadlines are still set and the rolling timer updated. Signed-off-by: Ming Lei <ming.lei@canonical.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions