]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit77cf92d22797ec2a6cd625cc86d62b20ab156d32
tree9c324350f2c722345baf572ced1b2e7eabeaee92
parent1ec7ba9aff08e9173b63f0e3100556728fd6fb55
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