summaryrefslogtreecommitdiff
path: root/block/blk-ioprio.c
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huawei.com>2022-12-05 14:57:08 +0300
committerJens Axboe <axboe@kernel.dk>2022-12-05 23:45:11 +0300
commit9c9f209d9d81ea67cd84f53f470a592c252d845d (patch)
treeb5d787ec6b0570305b17fa3d79ab6defc60a3f7d /block/blk-ioprio.c
parente3031d4c7d2c5bff6b5944d61d4e31319739d216 (diff)
downloadlinux-9c9f209d9d81ea67cd84f53f470a592c252d845d.tar.xz
blk-throttle: remove repeat check of elapsed time
There is no need to check elapsed time from last upgrade for each node in hierarchy. Move this check before traversing as throtl_can_upgrade do to remove repeat check. Reported-by: kernel test robot <lkp@intel.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Kemeng Shi <shikemeng@huawei.com> Link: https://lore.kernel.org/r/20221205115709.251489-9-shikemeng@huaweicloud.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-ioprio.c')
0 files changed, 0 insertions, 0 deletions