On 3/5/24 17:34, Yu Kuai wrote:
Looks like there are lots of work need to be done as well, for exapmle: - ping the iocost Module before enabling it for a disk, otherwise unload the Module will cause problems;
Hmm ... loading a block driver, loading blk-iocost, unloading the block driver and unloading blk-iocost works fine on my test setup.
- free the iocost structure after disabling it, otherwise iocost Module can never be unloaded;
I will check whether struct ioc is freed when unloading blk-iocost. Thanks, Bart.