From: Chuck Lever Date: Sun, 9 Nov 2014 01:14:29 +0000 (-0500) Subject: xprtrdma: unmap all FMRs during transport disconnect X-Git-Tag: omap-for-v3.19/fixes-rc1~150^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=467c9674bccc073684ee34f4bd205cf1b135d76e;p=pandora-kernel.git 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 Signed-off-by: Anna Schumaker --- Reading git-diff-tree failed