linux_dsm_epyc7002/net/sunrpc/xprtrdma
Chuck Lever c93c62231c xprtrdma: Disconnect on registration failure
If rpcrdma_register_external() fails during request marshaling, the
current RPC request is killed. Instead, this RPC should be retried
after reconnecting the transport instance.

The most likely reason for registration failure with FRMR is a
failed post_send, which would be due to a remote transport
disconnect or memory exhaustion. These issues can be recovered
by a retry.

Problems encountered in the marshaling logic itself will not be
corrected by trying again, so these should still kill a request.

Now that we've added a clean exit for marshaling errors, take the
opportunity to defang some BUG_ON's.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2014-06-04 08:56: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: Disconnect on registration failure 2014-06-04 08:56: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 Fix regression in NFSRDMA server 2014-03-28 18:02:11 -04:00
svc_rdma_sendto.c svcrdma: fix offset calculation for non-page aligned sge entries 2014-03-28 18:02:13 -04:00
svc_rdma_transport.c svcrdma: fix printk when memory allocation fails 2014-03-27 16:31:56 -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: Disconnect on registration failure 2014-06-04 08:56:53 -04:00
verbs.c xprtrdma: Remove BUG_ON() call sites 2014-06-04 08:56:53 -04:00
xprt_rdma.h xprtrdma: Avoid deadlock when credit window is reset 2014-06-04 08:56:52 -04:00