[bug report] kmemleak observed with blktests nvme-tcp tests

Yi Zhang yi.zhang at redhat.com
Thu Sep 30 03:36:56 PDT 2021


On Thu, Sep 30, 2021 at 3:55 PM Sagi Grimberg <sagi at grimberg.me> wrote:
>
>
> >>> Hello
> >>>
> >>> Below kmemleak was triggered with blktests nvme-tcp on latest
> >>> 5.15.0-rc3, pls check it.
> >>>
> >>
> >> Please share the test number and the frequency to reproduce this...
> >>
> >
> > Hi
> > I'm running the full blktests nvme-tcp[1] and it's 100% reproduced.
> >
> > [1]
> > # nvme_trtype=tcp ./check nvme/
>
> Yi, this does not happen with nvme_trtype=rdma? It looks like

nvme_trtype=rdma use_siw=1 also can reproduce it.

> we don't get to call cdev_device_del and del_gendisk, which means
> we may have a referencing problem...
>
> I'm wandering if this is a regression we can bisect to?

So just run[1] with nvme_core: multipath=Y will trigger it.
[1]
nvme_trtype=tcp ./check nvme/004

Will try bisect it.




More information about the Linux-nvme mailing list