Commit a79050434b45 ("blk-rq-qos: refactor out common elements of blk-wbt") introduce two wbt enable problems. The first one will cause false positive check by rwb_enabled() and lead to IO hung, the second one is wbt_enable_default() could not re-enable wbt after switch elevator back from bfq to other one. Zhang Yi (2): blk-wbt: introduce a new disable state to prevent false positive by rwb_enabled() blk-wbt: make sure throttle is enabled properly block/blk-wbt.c | 11 ++++++++--- block/blk-wbt.h | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) -- 2.31.1