blk-iocost: don't throttle bio if iocg is offlined
hulk inclusion category: bugfix bugzilla: 188107, https://gitee.com/openeuler/kernel/issues/I665S2 CVE: NA -------------------------------- bio will grab blkg reference, however, blkcg->online_pin is not grabbed, hence cgroup can be removed after thread exit while bio is still in progress. Bypass io in this suituation since it doesn't make sense to throttle bio while cgroup is removed. Signed-off-by: NYu Kuai <yukuai3@huawei.com> Signed-off-by: NLi Nan <linan122@huawei.com>
Showing
想要评论请 注册 或 登录