blktests nvme 041,042 leak memory

Maurizio Lombardi mlombard at redhat.com
Wed May 29 02:08:57 PDT 2024


út 28. 5. 2024 v 11:44 odesílatel Maurizio Lombardi
<mlombard at redhat.com> napsal:
>
> This patch fixes the problem for TCP, it should also work for loop but
> I've not tested it.
>
> http://bsdbackstore.eu/misc/0001-nvme-fix-memory-leak-when-nvme_init_ctrl-fails.patch

I updated it to fix all the fabrics, with the exception of apple's driver
because I am not sure I fully understand its probe process.

Why if blk_mq_alloc_queue() fails it just does put_device() and
doesn't uninit the controller?
Is it a mistake?

Maurizio




More information about the Linux-nvme mailing list