]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc6ad87d8dbee14bebe84cc5333eb709c07024a0e
tree9d5b1c5d7fe63fd197a99b2add28378ef06ab123
parent2b8a467d59dfbb10d1ea22d79b4ee5fce45feffe
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