• Steve French's avatar
    smb3: add way to control slow response threshold for logging and stats · 00778e22
    Steve French authored
    /proc/fs/cifs/Stats when CONFIG_CIFS_STATS2 is enabled logs 'slow'
    responses, but depending on the server you are debugging a
    one second timeout may be too fast, so allow setting it to
    a larger number of seconds via new module parameter
    
    /sys/module/cifs/parameters/slow_rsp_threshold
    
    or via modprobe:
    
    slow_rsp_threshold:Amount of time (in seconds) to wait before
    logging that a response is delayed.
    Default: 1 (if set to 0 disables msg). (uint)
    
    Recommended values are 0 (disabled) to 32767 (9 hours) with
    the default remaining as 1 second.
    Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
    Reviewed-by: default avatarAurelien Aptel <aaptel@suse.com>
    00778e22
cifsfs.c 41.5 KB