]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: inline hot part of __blk_mq_sched_restart
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 9 Oct 2021 12:25:42 +0000 (13:25 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:34 +0000 (06:17 -0600)
commita24ebfd3165b63e565ad2a9ca1c72ffee4a13bb5
tree4e821197ab9e42dcbfd8a5048b253bc05a6df679
parent62a322b48db5df97ad3c582297b90d32da80a4d2
blk-mq: inline hot part of __blk_mq_sched_restart

Extract a fast check out of __block_mq_sched_restart() and inline it for
performance reasons.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/894abaa0998e5999f2fe18f271e5efdfc2c32bd2.1633781740.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-sched.c
block/blk-mq-sched.h