Re: [PATCH v2] blk-throttle: fix lower control under super low iops limit
From: Jens Axboe
Date: Fri Jun 28 2024 - 16:57:04 EST
On Tue, 18 Jun 2024 14:21:08 +0800, Yu Kuai wrote:
> User will configure allowed iops limit in 1s, and calculate_io_allowed()
> will calculate allowed iops in the slice by:
>
> limit * HZ / throtl_slice
>
> However, if limit is quite low, the result can be 0, then
> allowed IO in the slice is 0, this will cause missing dispatch and
> control will be lower than limit.
>
> [...]
Applied, thanks!
[1/1] blk-throttle: fix lower control under super low iops limit
commit: 1beabab88ecee0698ecee7b54afa9cce7046ef96
Best regards,
--
Jens Axboe