]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Disconnect on flushed completion
authorChuck Lever <chuck.lever@oracle.com>
Fri, 21 Feb 2020 22:00:49 +0000 (17:00 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 27 Mar 2020 14:47:25 +0000 (10:47 -0400)
commit630547150b4ad6e7c2a631da0bb194902776d9a0
tree7f7735e3704e2f954da0cbefb596a3b34085fd5b
parent66e5b6a099a5dcae153476bdfbfc5221bae8faab
xprtrdma: Disconnect on flushed completion

Completion errors after a disconnect often occur much sooner than a
CM_DISCONNECT event. Use this to try to detect connection loss more
quickly.

Note that other kernel ULPs do take care to disconnect explicitly
when a WR is flushed.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/trace/events/rpcrdma.h
net/sunrpc/xprtrdma/frwr_ops.c
net/sunrpc/xprtrdma/verbs.c
net/sunrpc/xprtrdma/xprt_rdma.h