Re: [PATCH 11/11] blk-throttle: Use more siutable time_after check for update slice_start

From: Kemeng Shi
Date: Thu Nov 24 2022 - 08:02:32 EST




on 11/24/2022 2:29 AM, Tejun Heo wrote:
> On Wed, Nov 23, 2022 at 02:04:01PM +0800, Kemeng Shi wrote:
>> Use more siutable time_after check for update slice_start
>
> Why is it more suitable?
There is no need to assign tg->slice_start[rw] to start when they are
equal already. So time_after seems more suitable here.

--
Best wishes
Kemeng Shi