diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2014-11-08 20:14:29 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2014-11-25 13:39:20 -0500 |
commit | 467c9674bccc073684ee34f4bd205cf1b135d76e (patch) | |
tree | cefc907944bb2dcbefec1a7fbf7a4a2df1e775da /net/sunrpc/auth_generic.c | |
parent | e7104a2a96069975d489c60a30564372c6273a85 (diff) |
xprtrdma: unmap all FMRs during transport disconnect
When using RPCRDMA_MTHCAFMR memory registration, after a few
transport disconnect / reconnect cycles, ib_map_phys_fmr() starts to
return EINVAL because the provider has exhausted its map pool.
Make sure that all FMRs are unmapped during transport disconnect,
and that ->send_request remarshals them during an RPC retransmit.
This resets the transport's MRs to ensure that none are leaked
during a disconnect.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/auth_generic.c')
0 files changed, 0 insertions, 0 deletions