• Steve French's avatar
    [CIFS] Add new nostrictsync cifs mount option to avoid slow SMB flush · be652445
    Steve French authored
    If this mount option is set, when an application does an
    fsync call then the cifs client does not send an SMB Flush
    to the server (to force the server to write all dirty data
    for this file immediately to disk), although cifs still sends
    all dirty (cached) file data to the server and waits for the
    server to respond to the write write.  Since SMB Flush can be
    very slow, and some servers may be reliable enough (to risk
    delaying slightly flushing the data to disk on the server),
    turning on this option may be useful to improve performance for
    applications that fsync too much, at a small risk of server
    crash.  If this mount option is not set, by default cifs will
    send an SMB flush request (and wait for a response) on every
    fsync call.
    Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
    be652445
README 36.4 KB