]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb5a0ad61ba6ed698f95e9441bbcff14b9616fe47
tree0e3d6396029cf7b291aeb0b8daeba08f69a33f20
parent9b04f0369109043b67e675ff851c255013e9c404
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