• Steve French's avatar
    cifs: add mount parameter tcpnodelay · 7ae5e588
    Steve French authored
    Although corking and uncorking the socket (which cifs.ko already
    does) should usually have the desired benefit, using the new
    tcpnodelay mount option causes tcp_sock_set_nodelay() to be set
    on the socket which may be useful in order to ensure that we don't
    ever have cases where the network stack is waiting on sending an
    SMB request until multiple SMB requests have been added to the
    send queue (since this could lead to long latencies).
    
    To enable it simply append "tcpnodelay" it to the mount options
    Reviewed-by: default avatarPaulo Alcantara (SUSE) <pc@cjr.nz>
    Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
    7ae5e588
fs_context.h 6.73 KB