Hi,
在 2024/03/07 9:11, Bart Van Assche 写道:
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.
This can work... However, did you try to enable iocost and then unload
iocost first?
Thanks,
Kuai
- 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.
.