• Chuck Lever's avatar
    svcrdma: Add back svc_rdma_recv_ctxt::rc_pages · 4d9d69db
    Chuck Lever authored
    
    
    Having an nfsd thread waiting for an RDMA Read completion is
    problematic if the Read responder (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.
    
    To start with, restore the rc_pages field so that RDMA Read pages
    can be managed across calls to svc_rdma_recvfrom().
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    4d9d69db
svc_rdma_rw.c 31.3 KB