xprtrdma: Ensure MRs are DMA-unmapped when posting LOCAL_INV fails
authorChuck Lever <chuck.lever@oracle.com>
Wed, 19 Dec 2018 15:58:19 +0000 (10:58 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 2 Jan 2019 17:05:16 +0000 (12:05 -0500)
commitb674c4b4a13dc3d37f1b4a449f3b9515f9a30615
treea1162746804ebbbe300d26f190b984c58820a2a3
parente2f34e26710bfaa545a9d9cd0c70137406401467
xprtrdma: Ensure MRs are DMA-unmapped when posting LOCAL_INV fails

The recovery case in frwr_op_unmap_sync needs to DMA unmap each MR.
frwr_release_mr does not DMA-unmap, but the recycle worker does.

Fixes: 61da886bf74e ("xprtrdma: Explicitly resetting MRs is ... ")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/frwr_ops.c