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

From: Tejun Heo
Date: Wed Nov 30 2022 - 16:34:24 EST


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@xxxxxxxxxx>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

--
tejun