]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Refactor __fmr_dma_unmap()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 2 May 2016 18:42:38 +0000 (14:42 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 17 May 2016 19:48:03 +0000 (15:48 -0400)
commit7ff82c9eb2cbe07d0dc1575463fb549160f7f2ae
tree4c1bf10c371c6f2c478a22eaab77709dfc4f583d
parent0503c9d65d8f12a1c79fe1b852e48004eb338919
xprtrdma: Refactor __fmr_dma_unmap()

Separate the DMA unmap operation from freeing the MW. In a
subsequent patch they will not always be done at the same time,
and they are not related operations (except by order; freeing
the MW must be the last step during invalidation).

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Steve Wise <swise@opengridcomputing.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/fmr_ops.c