diff options
| author | Chuck Lever <[email protected]> | 2014-11-08 20:14:29 -0500 |
|---|---|---|
| committer | Anna Schumaker <[email protected]> | 2014-11-25 13:39:20 -0500 |
| commit | 467c9674bccc073684ee34f4bd205cf1b135d76e (patch) | |
| tree | cefc907944bb2dcbefec1a7fbf7a4a2df1e775da /drivers/scsi/mpt3sas/mpi/mpi2_raid.h | |
| 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 <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions