• Chuck Lever's avatar
    svcrdma: Post RDMA Writes while XDR encoding replies · f6ad7759
    Chuck Lever authored
    The only RPC/RDMA ordering requirement between RDMA Writes and RDMA
    Sends is that the responder must post the Writes on the Send queue
    before posting the Send that conveys the RPC Reply for that Write
    payload.
    
    The Linux NFS server implementation now has a transport method that
    can post result Payload Writes earlier than svc_rdma_sendto:
    
       ->xpo_result_payload()
    
    This gets RDMA Writes going earlier so they are more likely to be
    complete at the remote end before the Send completes.
    
    Some care must be taken with pulled-up Replies. We don't want to
    push the Write chunk and then send the same payload data via Send.
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    f6ad7759
svc_rdma_rw.c 24.7 KB