Re: [PATCH block-5.18] iocost: don't reset the inuse weight of under-weighted debtors

From: Jens Axboe
Date: Wed Apr 27 2022 - 10:41:36 EST


On Tue, 26 Apr 2022 19:01:01 -1000, Tejun Heo wrote:
> When an iocg is in debt, its inuse weight is owned by debt handling and
> should stay at 1. This invariant was broken when determining the amount of
> surpluses at the beginning of donation calculation - when an iocg's
> hierarchical weight is too low, the iocg is excluded from donation
> calculation and its inuse is reset to its active regardless of its
> indebtedness, triggering warnings like the following:
>
> [...]

Applied, thanks!

[1/1] iocost: don't reset the inuse weight of under-weighted debtors
commit: 8c936f9ea11ec4e35e288810a7503b5c841a355f

Best regards,
--
Jens Axboe