Skip to content
Commit ed88660a authored by Omar Sandoval's avatar Omar Sandoval Committed by Jens Axboe
Browse files

block: move call of scheduler's ->completed_request() hook

Commit 4bc6339a

 ("block: move blk_stat_add() to
__blk_mq_end_request()") consolidated some calls using ktime_get() so
we'd only need to call it once. Kyber's ->completed_request() hook also
calls ktime_get(), so let's move it to the same place, too.

Signed-off-by: default avatarOmar Sandoval <osandov@fb.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 986d413b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment