[bug report] kmemleak observed from blktests on latest linux-block/for-next

Sagi Grimberg sagi at grimberg.me
Sun Jun 26 07:16:08 PDT 2022


>>> Hi Ming
>>>
>>> The kmemleak also can be reproduced on 5.19.0-rc2, pls try to enable
>>> nvme_core multipath and retest.
>>>
>>> # cat /sys/module/nvme_core/parameters/multipath
>>> Y
>>>
>>
>> OK, I can understand the reason now since rqos is only removed for blk-mq queue,
>> then rqos allocated for bio queue is leaked, see disk_release_mq().
>>
>> The following patch should fix it:
> 
> Hi Ming
> The kmemleak was fixed by this change, feel free to add
> 
> Tested-by: Yi Zhang <yi.zhang at redhat.com>

I just tripped on this myself...
You can add,

Reviewed-by: Sagi Grimberg <sagi at grimberg.me>



More information about the Linux-nvme mailing list