]> git.karo-electronics.de Git - linux-beck.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)
commit763bc230b63c9106fd0b0a75ba5052fe3d68b786
tree4c1bf10c371c6f2c478a22eaab77709dfc4f583d
parent766656b022a629201b6e183c7837160cd0919286
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