]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xprtrdma: Properly handle exhaustion of the rb_mws list
authorChuck Lever <chuck.lever@oracle.com>
Tue, 29 Jul 2014 21:24:36 +0000 (17:24 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 31 Jul 2014 20:22:55 +0000 (16:22 -0400)
commitc2922c0235aac1c787fa81e24d7d7e93c2202275
treec7e0e93d36583f3cdfec4b0b7c543f18ada59891
parent3111d72c7ced444b1034f6e365e0e02444c68aa8
xprtrdma: Properly handle exhaustion of the rb_mws list

If the rb_mws list is exhausted, clean up and return NULL so that
call_allocate() will delay and try again.

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