]> git.baikalelectronics.ru Git - kernel.git/commit
block: inline fast path of driver tag allocation
authorJens Axboe <axboe@kernel.dk>
Wed, 13 Oct 2021 14:28:14 +0000 (08:28 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 21:18:25 +0000 (15:18 -0600)
commitd655f145d10ac1d44af114c4bb0bd9afc415e5b7
tree4157216f874fa4385bc09f2ac1500cebee9a2ab0
parentfd09e9979ce58e11af6a97f36ac422dc35472fd1
block: inline fast path of driver tag allocation

If we don't use an IO scheduler or have shared tags, then we don't need
to call into this external function at all. This saves ~2% for such
a setup.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
block/blk-mq.h