mbox series

[v2,0/2] blk-iocost: add refcounting for iocg and ioc

Message ID 20221227125502.541931-1-yukuai1@huaweicloud.com (mailing list archive)
Headers show
Series blk-iocost: add refcounting for iocg and ioc | expand

Message

Yu Kuai Dec. 27, 2022, 12:55 p.m. UTC
From: Yu Kuai <yukuai3@huawei.com>

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(-)