summaryrefslogtreecommitdiffstats
path: root/net/strparser
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2019-10-09 13:07:27 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2019-10-24 10:30:39 -0400
commita31b2f939219dd9bffdf01a45bd91f209f8cc369 (patch)
treee85586f2409e3f6715d9d6ccbcaaaea11e6fe3f6 /net/strparser
parent4b93dab36f28e673725e5e6123ebfccf7697f96a (diff)
downloadlinux-a31b2f939219dd9bffdf01a45bd91f209f8cc369.tar.gz
linux-a31b2f939219dd9bffdf01a45bd91f209f8cc369.tar.bz2
linux-a31b2f939219dd9bffdf01a45bd91f209f8cc369.zip
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: 75891f502f5f ("SUNRPC: Support for congestion control ... ") Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/strparser')
0 files changed, 0 insertions, 0 deletions