xprtrdma: Disable completions for LOCAL_INV Work Requests
authorChuck Lever <chuck.lever@oracle.com>
Tue, 29 Jul 2014 21:25:20 +0000 (17:25 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 31 Jul 2014 20:22:57 +0000 (16:22 -0400)
commitdab7e3b8da5ef76143a7e609612c306898f8f8fc
treedfea36e23ae5204f5d4e93c195ff740d9670cc6e
parent050557220e34ed5acc830c9bf6cd993f6b4ea33e
xprtrdma: Disable completions for LOCAL_INV Work Requests

Instead of relying on a completion to change the state of an FRMR
to FRMR_IS_INVALID, set it in advance. If an error occurs, a completion
will fire anyway and mark the FRMR FRMR_IS_STALE.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Steve Wise <swise@opengridcomputing.com>
Tested-by: Shirley Ma <shirley.ma@oracle.com>
Tested-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/verbs.c