diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2019-08-26 13:12:57 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2019-08-26 15:45:38 -0400 |
commit | 98ef77d1aaa7a2f4e1b2a721faa084222021fda7 (patch) | |
tree | 76d4f0ed1bd0524c5253d3c28072c766f1e47974 /arch/s390/pci/pci_mmio.c | |
parent | f9e1afe0fa729337309fa44921da998d2e6e6198 (diff) | |
download | linux-98ef77d1aaa7a2f4e1b2a721faa084222021fda7.tar.bz2 |
xprtrdma: Send Queue size grows after a reconnect
Eli Dorfman reports that after a series of idle disconnects, an
RPC/RDMA transport becomes unusable (rdma_create_qp returns
-ENOMEM). Problem was tracked down to increasing Send Queue size
after each reconnect.
The rdma_create_qp() API does not promise to leave its @qp_init_attr
parameter unaltered. In fact, some drivers do modify one or more of
its fields. Thus our calls to rdma_create_qp must use a fresh copy
of ib_qp_init_attr each time.
This fix is appropriate for kernels dating back to late 2007, though
it will have to be adapted, as the connect code has changed over the
years.
Reported-by: Eli Dorfman <eli@vastdata.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'arch/s390/pci/pci_mmio.c')
0 files changed, 0 insertions, 0 deletions