Re: [PATCH v2 08/10] blk-throttle: remove repeat check of elapsed time from last upgrade in throtl_hierarchy_can_downgrade

Tejun Heo
2022-11-30T21:34:24Z

On Tue, Nov 29, 2022 at 11:01:45AM +0800, Kemeng Shi wrote:
> 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.
>
> Signed-off-by: Kemeng Shi <shikemeng@huawei.com>
> Reported-by: kernel test robot <lkp@intel.com>

Acked-by: Tejun Heo <tj@kernel.org>

--
tejun