summaryrefslogtreecommitdiffstats
path: root/block/blk-iopoll.c
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2014-06-10 00:16:41 +0800
committerJens Axboe <axboe@fb.com>2014-06-09 10:20:06 -0600
commit2b8393b43ec672bb263009cd74c056ab01d6ac17 (patch)
tree0cfe6b32335a14310ffec05da4e227b9ffea15ca /block/blk-iopoll.c
parent3ee3237239583a6555db4f297d00eebdbb6d76ad (diff)
downloadop-kernel-dev-2b8393b43ec672bb263009cd74c056ab01d6ac17.zip
op-kernel-dev-2b8393b43ec672bb263009cd74c056ab01d6ac17.tar.gz
blk-mq: add timer in blk_mq_start_request
This way will become consistent with non-mq case, also avoid to update rq->deadline twice for mq. The comment said: "We do this early, to ensure we are on the right CPU.", but no percpu stuff is used in blk_add_timer(), so it isn't necessary. Even when inserting from plug list, there is no such guarantee at all. Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-iopoll.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud