• Chuck Lever's avatar
    svcrdma: Remove transport reference counting · 365e9992
    Chuck Lever authored
    Jason tells me that a ULP cannot rely on getting an ESTABLISHED
    and DISCONNECTED event pair for each connection, so transport
    reference counting in the CM event handler will never be reliable.
    
    Now that we have ib_drain_qp(), svcrdma should no longer need to
    hold transport references while Sends and Receives are posted. So
    remove the get/put call sites in the CM event handlers.
    
    This eliminates a significant source of locked memory bus traffic.
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    365e9992
svc_rdma_recvfrom.c 23.8 KB