Commit 5b16ba93 authored by Li Lingfeng's avatar Li Lingfeng Committed by zhangchangzhong
Browse files

block/wbt: enable wbt after switching cfq to other schedulers

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6LH5K


CVE: NA

--------------------------------

Commit 80061216 ("block/wbt: fix negative inflight counter
when remove scsi device") move wbt_enable_default() from
elv_unregister_queue() to bfq_exit_queue(). As the result of
it, wbt can't be enabled when we switch cfq to other schedulers.

Fixes: 80061216 ("block/wbt: fix negative inflight counter when remove scsi device")

Signed-off-by: default avatarLi Lingfeng <lilingfeng3@huawei.com>
Reviewed-by: default avatarYu Kuai <yukuai3@huawei.com>
Reviewed-by: default avatarHou Tao <houtao1@huawei.com>
Signed-off-by: default avatarZhang Changzhong <zhangchangzhong@huawei.com>
parent ca27f806
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment