Re: [PATCH v7 3/9] blk-throttle: factor out code to calculate ios/bytes_allowed

From: Yu Kuai
Date: Tue Aug 16 2022 - 21:32:23 EST


Hi, Tejun!

在 2022/08/17 3:47, Tejun Heo 写道:
On Tue, Aug 02, 2022 at 10:04:09PM +0800, Yu Kuai wrote:
+static bool tg_with_in_iops_limit(struct throtl_grp *tg, struct bio *bio,
+ u32 iops_limit, unsigned long *wait)

While at it, can you please rename these functions to tg_within_iops_limit?
"within" is a single word. Other than that,

Of course, I'll do that in next version.

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Thanks.