]> git.karo-electronics.de Git - linux-beck.git/commit
xprtrdma: Add ro_unmap_sync method for FRWR
authorChuck Lever <chuck.lever@oracle.com>
Wed, 16 Dec 2015 22:22:47 +0000 (17:22 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 18 Dec 2015 20:34:33 +0000 (15:34 -0500)
commitc9918ff56dfb175ce427140c641280d0b4522dbe
tree4677e432cdf9e78878e5ab6fcb3866032e249fbb
parent32d0ceecdfd0e941c492390fe5b6237cc1cf9fa6
xprtrdma: Add ro_unmap_sync method for FRWR

FRWR's ro_unmap is asynchronous. The new ro_unmap_sync posts
LOCAL_INV Work Requests and waits for them to complete before
returning.

Note also, DMA unmapping is now done _after_ invalidation.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Devesh Sharma <devesh.sharma@avagotech.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/frwr_ops.c
net/sunrpc/xprtrdma/xprt_rdma.h