Skip to content
  • Rick Macklem's avatar
    nfsd: Use the COPY_FILE_RANGE_TIMEO1SEC flag · 103b2075
    Rick Macklem authored
    Although it is not specified in the RFCs, the concept that
    the NFSv4 server should reply to an RPC request within a
    reasonable time is accepted practice within the NFSv4 community.
    
    Without this patch, the NFSv4.2 server attempts to reply to
    a Copy operation within 1 second by limiting the copy to
    vfs.nfs.maxcopyrange bytes (default 10Mbytes). This is crude at
    best, given the large variation in I/O subsystem performance.
    
    This patch uses the COPY_FILE_RANGE_TIMEO1SEC flag added by
    commit c5128c48 to limit the reply time for a Copy
    operation to approximately 1 second.
    
    MFC after:	2 weeks
    103b2075