xprtrdma: On disconnect, don't ignore pending CQEs
authorChuck Lever <chuck.lever@oracle.com>
Tue, 29 Jul 2014 21:23:52 +0000 (17:23 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 31 Jul 2014 20:22:53 +0000 (16:22 -0400)
commita7bc211ac926172ad20463afcf00ae7b9ebcd950
tree5ae7beefa905240849896f501146c751677a2a94
parent6ab59945f292a5c6cbc4a6c2011f1a732a116af2
xprtrdma: On disconnect, don't ignore pending CQEs

xprtrdma is currently throwing away queued completions during
a reconnect. RPC replies posted just before connection loss, or
successful completions that change the state of an FRMR, can be
missed.

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