commit | a7b36ee6ba299ffa5c3b36af187b4d0fb32a557c | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Oct 05 09:11:56 2021 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Oct 18 06:17:03 2021 -0600 |
tree | 0e3d6396029cf7b291aeb0b8daeba08f69a33f20 | |
parent | 079a2e3e862548087041a1873bbffceb41a72a33 [diff] [blame] |
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>
diff --git a/block/blk-core.c b/block/blk-core.c index b08aed2..3b5ee3f 100644 --- a/block/blk-core.c +++ b/block/blk-core.c
@@ -50,6 +50,7 @@ #include "blk-mq.h" #include "blk-mq-sched.h" #include "blk-pm.h" +#include "blk-throttle.h" struct dentry *blk_debugfs_root;