diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2014-05-28 16:35:14 +0200 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2014-06-04 14:56:53 +0200 |
commit | c93c62231cf55df4a26bd08937efeea97e6fc5e8 (patch) | |
tree | fa9b5c277f6fad09e1157cba579816c760c985ae /net/mac80211/sta_info.h | |
parent | xprtrdma: Remove BUG_ON() call sites (diff) | |
download | linux-c93c62231cf55df4a26bd08937efeea97e6fc5e8.tar.xz linux-c93c62231cf55df4a26bd08937efeea97e6fc5e8.zip |
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>
Diffstat (limited to 'net/mac80211/sta_info.h')
0 files changed, 0 insertions, 0 deletions