From: Yu Kuai <yukuai3@xxxxxxxxxx> Changes in v2: - Instead add ioc_pd_offline(), and move operations for iocg from ioc_pd_free() to ioc_pd_offline(), use refcounting to fix the problem. Yu Kuai (2): blk-iocost: add refcounting for iocg blk-iocost: add refcounting for ioc block/blk-iocost.c | 86 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 61 insertions(+), 25 deletions(-) -- 2.31.1