diff options
author | 2020-08-17 11:19:26 -0400 | |
---|---|---|
committer | 2020-08-26 15:29:21 -0400 | |
commit | 5de55ce951a1466e31ff68a7bc6b0a7ce3cb5947 (patch) | |
tree | b3c0f93863078281535f9822e2dcedd228d95bab /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.9-rc2 (diff) | |
download | wireguard-linux-5de55ce951a1466e31ff68a7bc6b0a7ce3cb5947.tar.xz wireguard-linux-5de55ce951a1466e31ff68a7bc6b0a7ce3cb5947.zip |
xprtrdma: Release in-flight MRs on disconnect
Dan Aloni reports that when a server disconnects abruptly, a few
memory regions are left DMA mapped. Over time this leak could pin
enough I/O resources to slow or even deadlock an NFS/RDMA client.
I found that if a transport disconnects before pending Send and
FastReg WRs can be posted, the to-be-registered MRs are stranded on
the req's rl_registered list and never released -- since they
weren't posted, there's no Send completion to DMA unmap them.
Reported-by: Dan Aloni <dan@kernelim.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions