]> 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)
commite32580375aaf6d6511986c914784de9089854ac6
tree4157216f874fa4385bc09f2ac1500cebee9a2ab0
parentd55e1f1413234e6ac8ec14a0576394edb460210f
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