Thread (3 messages) 3 messages, 3 authors, 2021-10-16

Re: [PATCH] nvmet-tcp: fix a memory leak when releasing a queue

From: Sagi Grimberg <sagi@grimberg.me>
Date: 2021-10-15 21:33:21

page_frag_free() won't completely release the memory
allocated for the commands, the cache page must be explicitly
freed by calling __page_frag_cache_drain().

This bug can be easily reproduced by repeatedly
executing the following command on the initiator:

$echo 1 > /sys/devices/virtual/nvme-fabrics/ctl/nvme0/reset_controller

Signed-off-by: Maurizio Lombardi <redacted>
Reviewed-by: John Meneghini <redacted>
This came a long a number of times before, thanks for
fixing this.

Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help