Re: [PATCH 8/8] blk-iocost: Get ioc_now inside weight_updated

From: Tejun Heo
Date: Mon Oct 17 2022 - 15:20:06 EST


On Mon, Oct 17, 2022 at 10:00:11AM +0800, Kemeng Shi wrote:
> The ioc_now parameter of weight_updated is only needed if we need call
> propagate_weights. Move ioc_now inside weight_updated to remove
> unnecessary get of ioc_now from outside of weight_updated.
>
> Signed-off-by: Kemeng Shi <shikemeng@xxxxxxxxxx>

Ditto. I don't think this improves anything meaningful.

Thanks.

--
tejun