]> 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)
commitad48be452b6368f32984a1a8198973096b2b1302
tree5e175d59711d0dea226ccc6dc33578545f211f44
parent06ca29c1ea3325abed10f91fba18295c879b698b
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