]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Fix return code from rpcrdma_xprt_connect()
authorChuck Lever <chuck.lever@oracle.com>
Sat, 27 Jun 2020 16:35:15 +0000 (12:35 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 13 Jul 2020 14:50:41 +0000 (10:50 -0400)
commit5010c24a8b2e1106cdcc8c3125e0127e12e9ab6c
treef1ea37ce95f1630a5bd7153d1ad37477b6b2f167
parent62d4db082d4904cb0b4fafb48b858405abdbd214
xprtrdma: Fix return code from rpcrdma_xprt_connect()

I noticed that when rpcrdma_xprt_connect() returns -ENOMEM,
instead of retrying the connect, the RPC client kills the
RPC task that requested the connection. We want a retry
here.

Fixes: 34cba5200473 ("xprtrdma: Make sendctx queue lifetime the same as connection lifetime")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/verbs.c