aboutsummaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2018-10-01 14:26:08 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2018-10-03 08:58:41 -0400
commit31e62d25b5b8155b2ff6a7c6d31256475dbbcc7a (patch)
treeb98fcd4d3f7b9831df26a79f48e19e265e6172d2 /include/trace
parent316a616e7886583c03d00f8320458b713c1dd277 (diff)
xprtrdma: Simplify RPC wake-ups on connect
Currently, when a connection is established, rpcrdma_conn_upcall invokes rpcrdma_conn_func and then wake_up_all(&ep->rep_connect_wait). The former wakes waiting RPCs, but the connect worker is not done yet, and that leads to races, double wakes, and difficulty understanding how this logic is supposed to work. Instead, collect all the "connection established" logic in the connect worker (xprt_rdma_connect_worker). A disconnect worker is retained to handle provider upcalls safely. Fixes: 254f91e2fa1f ("xprtrdma: RPC/RDMA must invoke ... ") Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions