]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - block/blk-mq.c
block: move blk_stat_add() to __blk_mq_end_request()
authorOmar Sandoval <osandov@fb.com>
Wed, 9 May 2018 09:08:52 +0000 (02:08 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 May 2018 14:33:07 +0000 (08:33 -0600)
commit4bc6339a583cec650b05d6fdcc83f03f941c1a3b
tree9d5b1c5d7fe63fd197a99b2add28378ef06ab123
parent84c7afcebed913c93d50f116b046b7f0d8ec0cdc
block: move blk_stat_add() to __blk_mq_end_request()

We want this next to blk_account_io_done() for the next change so that
we can call ktime_get() only once for both.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c