Re: [PATCH] blk-throttle: check for overflow in calculate_bytes_allowed
From: Jens Axboe
Date: Fri Oct 20 2023 - 20:38:50 EST
On Fri, 20 Oct 2023 15:36:17 -0700, Khazhismel Kumykov wrote:
> Inexact, we may reject some not-overflowing values incorrectly, but
> they'll be on the order of exabytes allowed anyways.
>
> This fixes divide error crash on x86 if bps_limit is not configured or
> is set too high in the rare case that jiffy_elapsed is greater than HZ.
>
>
> [...]
Applied, thanks!
[1/1] blk-throttle: check for overflow in calculate_bytes_allowed
commit: 2dd710d476f2f1f6eaca884f625f69ef4389ed40
Best regards,
--
Jens Axboe