diff options
author | Steve French <stfrench@microsoft.com> | 2019-11-21 17:26:35 -0600 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-11-25 01:17:12 -0600 |
commit | 1ae9a5a5515729f43b2513bba68a462f240b3e04 (patch) | |
tree | 890f5aca52c85ef9195646fd0fa9cda40e194b8f /fs/cifs/cifs_debug.c | |
parent | 65a37a34145ca64fd2e0df2f477aadeb389990bc (diff) |
smb3: dump in_send and num_waiters stats counters by default
Number of requests in_send and the number of waiters on sendRecv
are useful counters in various cases, move them from
CONFIG_CIFS_STATS2 to be on by default especially with multichannel
Signed-off-by: Steve French <stfrench@microsoft.com>
Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
Diffstat (limited to 'fs/cifs/cifs_debug.c')
-rw-r--r-- | fs/cifs/cifs_debug.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c index efb2928ff6c8..393c42cab7d3 100644 --- a/fs/cifs/cifs_debug.c +++ b/fs/cifs/cifs_debug.c @@ -365,11 +365,10 @@ skip_rdma: server->srv_count, server->sec_mode, in_flight(server)); -#ifdef CONFIG_CIFS_STATS2 seq_printf(m, " In Send: %d In MaxReq Wait: %d", atomic_read(&server->in_send), atomic_read(&server->num_waiters)); -#endif + /* dump session id helpful for use with network trace */ seq_printf(m, " SessionId: 0x%llx", ses->Suid); if (ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) |