xprtrmda: Reduce lock contention in completion handlers
authorChuck Lever <chuck.lever@oracle.com>
Wed, 28 May 2014 14:33:34 +0000 (10:33 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 4 Jun 2014 12:56:43 +0000 (08:56 -0400)
commit7f23f6f6e388d2003c4ecf5d558f3c2191e12530
tree082b8cfb518dd87fe8b0ff6e70f371022c12e180
parentfc66448549bbb77f2f1a38b270ab2d6b6a22da33
xprtrmda: Reduce lock contention in completion handlers

Skip the ib_poll_cq() after re-arming, if the provider knows there
are no additional items waiting. (Have a look at commit ed23a727 for
more details).

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/verbs.c