linux/net/sunrpc/xprtrdma
Chuck Lever a31b2f9392 xprtrdma: Connection becomes unstable after a reconnect
This is because xprt_request_get_cong() is allowing more than one
RPC Call to be transmitted before the first Receive on the new
connection. The first Receive fills the Receive Queue based on the
server's credit grant. Before that Receive, there is only a single
Receive WR posted because the client doesn't know the server's
credit grant.

Solution is to clear rq_cong on all outstanding rpc_rqsts when the
the cwnd is reset. This is because an RPC/RDMA credit is good for
one connection instance only.

Fixes: 75891f502f ("SUNRPC: Support for congestion control ... ")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2019-10-24 10:30:39 -04:00
..
backchannel.c xprtrdma: Fix bc_max_slots return value 2019-08-21 14:35:49 -04:00
frwr_ops.c xprtrdma: Add unique trace points for posting Local Invalidate WRs 2019-10-24 10:30:39 -04:00
Makefile xprtrdma: Remove support for FMR memory registration 2019-01-02 12:05:17 -05:00
module.c NFS client updates for Linux 4.18 2018-06-12 10:09:03 -07:00
rpc_rdma.c xprtrdma: Clear xprt->reestablish_timeout on close 2019-08-26 15:34:59 -04:00
svc_rdma_backchannel.c SUNRPC: Remove the bh-safe lock requirement on xprt->transport_lock 2019-07-06 14:54:48 -04:00
svc_rdma_recvfrom.c svcrdma: Use llist for managing cache of recv_ctxts 2019-08-19 10:59:28 -04:00
svc_rdma_rw.c scsi: lib/sg_pool.c: improve APIs for allocating sg pool 2019-06-20 15:21:33 -04:00
svc_rdma_sendto.c svcrdma: Remove syslog warnings in work completion handlers 2019-02-06 15:37:15 -05:00
svc_rdma_transport.c Highlights: 2019-09-27 17:00:27 -07:00
svc_rdma.c svcrdma: Remove svc_rdma_wq 2019-08-19 10:59:28 -04:00
transport.c xprtrdma: Connection becomes unstable after a reconnect 2019-10-24 10:30:39 -04:00
verbs.c xprtrdma: Connection becomes unstable after a reconnect 2019-10-24 10:30:39 -04:00
xprt_rdma.h xprtrdma: Recycle MRs after disconnect 2019-08-26 15:22:31 -04:00