Re: [PATCH] block, bfq: Fix division by zero error on zero wsum
From: Jens Axboe
Date: Sun Apr 16 2023 - 15:02:44 EST
On Thu, 13 Apr 2023 14:30:09 +0100, Colin Ian King wrote:
> When the weighted sum is zero the calculation of limit causes
> a division by zero error. Fix this by continuing to the next level.
>
> This was discovered by running as root:
>
> stress-ng --ioprio 0
>
> [...]
Applied, thanks!
[1/1] block, bfq: Fix division by zero error on zero wsum
commit: e53413f8deedf738a6782cc14cc00bd5852ccf18
Best regards,
--
Jens Axboe