]> git.baikalelectronics.ru Git - kernel.git/commit
block, bfq: always update the budget of an entity when needed
authorPaolo Valente <paolo.valente@linaro.org>
Thu, 16 Aug 2018 16:51:16 +0000 (18:51 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 16 Aug 2018 19:08:12 +0000 (13:08 -0600)
commitaec13d1eda40de7fa98a9d666ebe16fde243ef37
tree5e175d59711d0dea226ccc6dc33578545f211f44
parent6cc9341475bb2b3f82339c80ab859fba6e215797
block, bfq: always update the budget of an entity when needed

When the next child entity to serve changes for a given parent entity,
the budget of that parent entity must be updated accordingly.
Unfortunately, this update is not performed, by mistake, for the
entities that happen to switch from having no child entity to serve,
to having one child entity to serve.

Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-wf2q.c