[PATCH BUGFIX RFC 0/2] reverting two commits causing freezes

From: Paolo Valente
Date: Fri Jan 18 2019 - 06:52:37 EST


Hi Jens,
a user reported a warning, followed by freezes, in case he increases
nr_requests to more than 64 [1]. After reproducing the issues, I
reverted the commit f0635b8a416e ("bfq: calculate shallow depths at
init time"), plus the related commit bd7d4ef6a4c9 ("bfq-iosched:
remove unused variable"). The problem went away.

Maybe the assumption in commit f0635b8a416e ("bfq: calculate shallow
depths at init time") does not hold true?

Thanks,
Paolo

[1] https://bugzilla.kernel.org/show_bug.cgi?id=200813

Paolo Valente (2):
Revert "bfq-iosched: remove unused variable"
Revert "bfq: calculate shallow depths at init time"

block/bfq-iosched.c | 116 ++++++++++++++++++++++----------------------
block/bfq-iosched.h | 6 +++
2 files changed, 63 insertions(+), 59 deletions(-)

--
2.20.1