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:Yu Kuai <yukuai3@huawei.com> Signed-off-by:
Li Nan <linan122@huawei.com> (cherry picked from commit ebe0cb55)
Loading
Please sign in to comment