Zhang Yi 76a8040817 blk-wbt: make sure throttle is enabled properly
After commit a79050434b45 ("blk-rq-qos: refactor out common elements of
blk-wbt"), if throttle was disabled by wbt_disable_default(), we could
not enable again, fix this by set enable_state back to
WBT_STATE_ON_DEFAULT.

Fixes: a79050434b45 ("blk-rq-qos: refactor out common elements of blk-wbt")
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://lore.kernel.org/r/20210619093700.920393-3-yi.zhang@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-06-21 15:03:41 -06:00
..
2021-06-01 07:47:14 -06:00
2021-05-08 21:49:48 -06:00
2020-03-17 20:55:21 +01:00
2021-06-11 11:53:03 -06:00
2021-05-09 13:25:14 -07:00
2020-09-23 09:18:13 -06:00
2021-06-01 07:47:14 -06:00
2021-06-21 15:03:41 -06:00
2020-01-06 20:59:04 -07:00