[PATCH v3 0/1] nvme-tcp: wait socket wmem to drain in queue stop

Michael Liang mliang at purestorage.com
Thu Apr 24 09:14:38 PDT 2025


Changes in v3:
 - Use nowait to stop all queues first then wait;
 - Check queue allocation flag in wait to avoid accessing after free;
 - Link to v2: https://lore.kernel.org/linux-nvme/20250417071036.a7nhovuokg7w2n5r@purestorage.com/

Michael Liang (1):
  nvme-tcp: wait socket wmem to drain in queue stop

 drivers/nvme/host/tcp.c | 31 +++++++++++++++++++++++++++++--
 1 file changed, 29 insertions(+), 2 deletions(-)

-- 
2.34.1




More information about the Linux-nvme mailing list