]> git.baikalelectronics.ru Git - kernel.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)
commit87927d7f12ea09c52d7233406c6033bd824850f1
tree4677e432cdf9e78878e5ab6fcb3866032e249fbb
parent0db8e9d12f1e57949b2fc29cb4fbc1a95440094f
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