summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2pdu.h
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2018-09-18 14:05:18 -0500
committerSteve French <stfrench@microsoft.com>2018-10-23 21:16:04 -0500
commit00778e2294d560361e2ed4e94cc003351a2d82d9 (patch)
treef0f9f7b0c1ea14705eb2fc183a6c053e553da8a3 /fs/cifs/smb2pdu.h
parent1c3a13a38a28c6ed84ff9220c1b8dadf5fbcf8a5 (diff)
downloadtalos-obmc-linux-00778e2294d560361e2ed4e94cc003351a2d82d9.tar.gz
talos-obmc-linux-00778e2294d560361e2ed4e94cc003351a2d82d9.zip
smb3: add way to control slow response threshold for logging and stats
/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: Steve French <stfrench@microsoft.com> Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Diffstat (limited to 'fs/cifs/smb2pdu.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud