]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d52130d703f1cc6fd6d264448f80091aaf6203a
treea1162746804ebbbe300d26f190b984c58820a2a3
parent8cbfa3bfc8aa6b03e47af4770b7476c2be80098b
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: 9fdb3528b82b ("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