Messages in this thread | | | From | Jens Axboe <> | Subject | Re: [PATCH] blk-throttle: check for overflow in calculate_bytes_allowed | Date | Fri, 20 Oct 2023 18:38:43 -0600 |
| |
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
| |