block: move blk-throtl fast path inline
authorJens Axboe <axboe@kernel.dk>
Tue, 5 Oct 2021 15:11:56 +0000 (09:11 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:03 +0000 (06:17 -0600)
commita7b36ee6ba299ffa5c3b36af187b4d0fb32a557c
tree0e3d6396029cf7b291aeb0b8daeba08f69a33f20
parent079a2e3e862548087041a1873bbffceb41a72a33
block: move blk-throtl fast path inline

Even if no policies are defined, we spend ~2% of the total IO time
checking. Move the fast path inline.

Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c
block/blk-core.c
block/blk-merge.c
block/blk-sysfs.c
block/blk-throttle.c
block/blk-throttle.h [new file with mode: 0644]
block/blk.h