• Chuck Lever's avatar
    svcrdma: Add back svcxprt_rdma::sc_read_complete_q · a937693a
    Chuck Lever authored
    Having an nfsd thread waiting for an RDMA Read completion is
    problematic if the Read responder (ie, the client) stops responding.
    We need to go back to handling RDMA Reads by allowing the nfsd
    thread to return to the svc scheduler, then waking a second thread
    finish the RPC message once the Read completion fires.
    
    As a next step, add a list_head upon which completed Reads are queued.
    A subsequent patch will make use of this queue.
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    a937693a
svc_rdma_recvfrom.c 25.8 KB