xprtrdma: Disable completions for FAST_REG_MR Work Requests
authorChuck Lever <chuck.lever@oracle.com>
Tue, 29 Jul 2014 21:25:12 +0000 (17:25 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 31 Jul 2014 20:22:56 +0000 (16:22 -0400)
commit050557220e34ed5acc830c9bf6cd993f6b4ea33e
tree9c324350f2c722345baf572ced1b2e7eabeaee92
parent440ddad51b821a8ab9099addcc29d4d18d02f6ac
xprtrdma: Disable completions for FAST_REG_MR Work Requests

Instead of relying on a completion to change the state of an FRMR
to FRMR_IS_VALID, 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