Skip to content
  • Steve French's avatar
    CIFS: Fix SMB2/SMB3 Copy offload support (refcopy) for large files · 9bf0c9cd
    Steve French authored
    
    
    This third version of the patch, incorparating feedback from David Disseldorp
    extends the ability of copychunk (refcopy) over smb2/smb3 mounts to
    handle servers with smaller than usual maximum chunk sizes
    and also fixes it to handle files bigger than the maximum chunk sizes
    
    In the future this can be extended further to handle sending
    multiple chunk requests in on SMB2 ioctl request which will
    further improve performance, but even with one 1MB chunk per
    request the speedup on cp is quite large.
    
    Reviewed-by: default avatarDavid Disseldorp <ddiss@samba.org>
    Signed-off-by: default avatarSteve French <smfrench@gmail.com>
    9bf0c9cd