summaryrefslogtreecommitdiffstats
path: root/net/core/link_watch.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2019-10-23 10:01:52 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2019-10-24 10:30:40 -0400
commit6cb28687fd1db3f94b35c2a7b37bf468f945244a (patch)
treeff0fff83d53010b65aa10fd39707925883eefaea /net/core/link_watch.c
parent614f3c96d7e5efd1c4dc699524857130a52c6a7f (diff)
downloadlinux-6cb28687fd1db3f94b35c2a7b37bf468f945244a.tar.gz
linux-6cb28687fd1db3f94b35c2a7b37bf468f945244a.tar.bz2
linux-6cb28687fd1db3f94b35c2a7b37bf468f945244a.zip
xprtrdma: Wake tasks after connect worker fails
Pending tasks are currently never awoken when the connect worker fails. The reason is that XPRT_CONNECTED is always clear after a failure return of rpcrdma_ep_connect, thus the xprt_test_and_clear_connected() check in xprt_rdma_connect_worker() always fails. - xprt_rdma_close always clears XPRT_CONNECTED. - rpcrdma_ep_connect always clears XPRT_CONNECTED. After reviewing the TCP connect worker, it appears that there's no need for extra test_and_set paranoia in xprt_rdma_connect_worker. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/core/link_watch.c')
0 files changed, 0 insertions, 0 deletions