xprtrdma: Reset FRMRs after a flushed LOCAL_INV Work Request
authorChuck Lever <chuck.lever@oracle.com>
Tue, 29 Jul 2014 21:24:54 +0000 (17:24 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 31 Jul 2014 20:22:55 +0000 (16:22 -0400)
commitddb6bebcc64678fcf73eb9e21f80c6dacfa093a7
tree29a5e7d2d7b1883a5e5cc78d372b6009fb410196
parent9f9d802a28a107937ecda4ff78de2ab5cedd439d
xprtrdma: Reset FRMRs after a flushed LOCAL_INV Work Request

When a LOCAL_INV Work Request is flushed, it leaves an FRMR in the
VALID state. This FRMR can be returned by rpcrdma_buffer_get(), and
must be knocked down in rpcrdma_register_frmr_external() before it
can be re-used.

Instead, capture these in rpcrdma_buffer_get(), and reset them.

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
This page took 0.024764 seconds and 5 git commands to generate.