Re: [PATCH v2 2/3] block/blk-throttle: drop unneeded blk_stat_enable_accounting
From: Yu Kuai
Date: Sat Nov 15 2025 - 10:53:53 EST
在 2025/11/15 7:54, Khazhismel Kumykov 写道:
> From: Guenter Roeck<linux@xxxxxxxxxxxx>
>
> After the removal of CONFIG_BLK_DEV_THROTTLING_LOW, it is no longer
> necessary to enable block accounting, so remove the call to
> blk_stat_enable_accounting(). With that, the track_bio_latency variable
> is no longer used and can be deleted from struct throtl_data. Also,
> including blk-stat.h is no longer necessary.
>
> Fixes: bf20ab538c81 ("blk-throttle: remove CONFIG_BLK_DEV_THROTTLING_LOW")
> Cc: Yu Kuai<yukuai@xxxxxxxxxx>
> Cc: Tejun Heo<tj@xxxxxxxxxx>
> Signed-off-by: Guenter Roeck<linux@xxxxxxxxxxxx>
> Signed-off-by: Khazhismel Kumykov<khazhy@xxxxxxxxxx>
> ---
> block/blk-throttle.c | 6 ------
> 1 file changed, 6 deletions(-)
LGTM
Reviewed-by: Yu Kuai <yukuai@xxxxxxxxx>
--
Thanks
Kuai