[PATCH 0/2] nvmet-rdma: fix response resource leak on queue teardown
Keith Busch
kbusch at kernel.org
Mon Jul 6 11:57:05 PDT 2026
On Mon, Jun 29, 2026 at 02:15:26PM +0900, Shin'ichiro Kawasaki wrote:
> When an nvme target with rdma transport is removed while I/Os are in
> flight, a response can be posted but its send completion is never
> delivered before the connection is torn down. This leaks the request
> SGLs and the RDMA read/write context. The leaks are recreated by
> running blktests nvme/061 with rdma transport and the siw driver [1].
>
> [1] https://lore.kernel.org/linux-nvme/ajtk1CaN1pBreS4O@shinmob/
>
> This series addresses the problem. The first patch is a preparation
> refactoring. The second patch fixes the problem by reclaiming memory
> objects on queue QP teardown.
Thanks, applied to nvme-7.3.
More information about the Linux-nvme
mailing list