diff options
author | Steve French <stfrench@microsoft.com> | 2018-08-02 00:38:07 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-08-07 22:28:01 +0300 |
commit | 020eec5f712ffb4254233490076cc21600b810db (patch) | |
tree | 9d32f5f44706a3d54991eaaa2b0c5b9f81fd13bb /fs/hostfs | |
parent | e0bba0b8548179b696e86c158ea8f45f2ef6ad14 (diff) | |
download | linux-020eec5f712ffb4254233490076cc21600b810db.tar.xz |
smb3: add tracepoint for slow responses
If responses take longer than one second from the server,
we can optionally log them to dmesg in current cifs.ko code
(CONFIG_CIFS_STATS2 must be configured and a
/proc/fs/cifs/cifsFYI flag must be set), but can be more useful
to log these via ftrace (tracepoint is smb3_slow_rsp) which
is easier and more granular (still requires CONFIG_CIFS_STATS2
to be configured in the build though).
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'fs/hostfs')
0 files changed, 0 insertions, 0 deletions