linux_dsm_epyc7002/net/sunrpc/xprtrdma
Chuck Lever 539431a437 xprtrdma: Don't invalidate FRMRs if registration fails
If FRMR registration fails, it's likely to transition the QP to the
error state. Or, registration may have failed because the QP is
_already_ in ERROR.

Thus calling rpcrdma_deregister_external() in
rpcrdma_create_chunks() is useless in FRMR mode: the LOCAL_INVs just
get flushed.

It is safe to leave existing registrations: when FRMR registration
is tried again, rpcrdma_register_frmr_external() checks if each FRMR
is already/still VALID, and knocks it down first if it is.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Steve Wise <swise@opengridcomputing.com>
Tested-by: Shirley Ma <shirley.ma@oracle.com>
Tested-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2014-07-31 16:22:53 -04:00
..
Makefile xprtrdma: add separate Kconfig options for NFSoRDMA client and server support 2014-03-28 18:02:12 -04:00
rpc_rdma.c xprtrdma: Don't invalidate FRMRs if registration fails 2014-07-31 16:22:53 -04:00
svc_rdma_marshal.c svcrdma: underflow issue in decode_write_list() 2013-07-15 11:46:23 -04:00
svc_rdma_recvfrom.c svcrdma: Fence LOCAL_INV work requests 2014-06-06 19:22:51 -04:00
svc_rdma_sendto.c svcrdma: refactor marshalling logic 2014-06-06 19:22:50 -04:00
svc_rdma_transport.c svcrdma: refactor marshalling logic 2014-06-06 19:22:50 -04:00
svc_rdma.c net: Convert uses of typedef ctl_table to struct ctl_table 2013-06-13 02:36:09 -07:00
transport.c xprtrdma: Update rkeys after transport reconnect 2014-07-31 16:22:53 -04:00
verbs.c xprtrdma: On disconnect, don't ignore pending CQEs 2014-07-31 16:22:53 -04:00
xprt_rdma.h xprtrdma: Update rkeys after transport reconnect 2014-07-31 16:22:53 -04:00