Re: [PATCH -next v5 3/8] blk-throttle: factor out code to calculate ios/bytes_allowed

From: Yu Kuai
Date: Thu Jun 23 2022 - 08:04:38 EST


Hi,

在 2022/06/23 1:27, Michal Koutný 写道:
On Sat, May 28, 2022 at 02:43:25PM +0800, Yu Kuai <yukuai3@xxxxxxxxxx> wrote:
+static u64 calculate_bytes_allowed(u64 bps_limit,
+ unsigned long jiffy_elapsed_rnd)

Just noticed with all series applied this argument needn't be called
_rnd. (It's a nit.)


Yes, you're right. I'll change that in next version.

Thanks,
Kuai