[PATCH BUGFIX 0/2] bfq: fix unbalanced decrements causing loss of throughput

From: Paolo Valente
Date: Thu Dec 06 2018 - 13:18:35 EST


Hi Jens,
the first patch in this series fixes an error in the decrementing of
the counter of the number of groups with pending I/O. This wrong
decrement caused loss of throughput or, less likely, of control on
I/O. The second patch is a fix of some wrong comments, which somehow
contributed to making the above bug more difficult to find.

Thanks,
Paolo

Paolo Valente (2):
block, bfq: fix decrement of num_active_groups
block, bfq: fix comments on __bfq_deactivate_entity

block/bfq-iosched.c | 76 +++++++++++++++++++++++++++++++++++++----------------
block/bfq-iosched.h | 51 +++++++++++++++++++++++++++++++++--
block/bfq-wf2q.c | 16 ++++++-----
3 files changed, 112 insertions(+), 31 deletions(-)

--
2.16.1