diff options
author | Steve French <sfrench@us.ibm.com> | 2005-10-07 12:51:05 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-10-07 12:51:05 -0400 |
commit | 131afd0b748e382c3a00355d3fa245801f929298 (patch) | |
tree | 1581222aa48c6610877b3cc3bd5a4d275a6a68cd /fs/cifs/cifsglob.h | |
parent | dd99cd803d460576cf84f012786ff39814b73f7f (diff) |
[CIFS] /proc/fs/cifs debug code cleanup and new stats2
These changes to debug code and new stats are helpful in
debugging potential tcp performance/configuration problems under cifs.
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index cd421c76805e..729717281b40 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -123,13 +123,17 @@ struct TCP_Server_Info { | |||
123 | struct list_head pending_mid_q; | 123 | struct list_head pending_mid_q; |
124 | void *Server_NlsInfo; /* BB - placeholder for future NLS info */ | 124 | void *Server_NlsInfo; /* BB - placeholder for future NLS info */ |
125 | unsigned short server_codepage; /* codepage for the server */ | 125 | unsigned short server_codepage; /* codepage for the server */ |
126 | unsigned long ip_address; /* IP addr for the server if known */ | 126 | unsigned long ip_address; /* IP addr for the server if known */ |
127 | enum protocolEnum protocolType; | 127 | enum protocolEnum protocolType; |
128 | char versionMajor; | 128 | char versionMajor; |
129 | char versionMinor; | 129 | char versionMinor; |
130 | unsigned svlocal:1; /* local server or remote */ | 130 | unsigned svlocal:1; /* local server or remote */ |
131 | atomic_t socketUseCount; /* number of open cifs sessions on socket */ | 131 | atomic_t socketUseCount; /* number of open cifs sessions on socket */ |
132 | atomic_t inFlight; /* number of requests on the wire to server */ | 132 | atomic_t inFlight; /* number of requests on the wire to server */ |
133 | #ifdef CONFIG_CIFS_STATS2 | ||
134 | atomic_t inSend; /* requests trying to send */ | ||
135 | atomic_t num_waiters; /* blocked waiting to get in sendrecv */ | ||
136 | #endif | ||
133 | enum statusEnum tcpStatus; /* what we think the status is */ | 137 | enum statusEnum tcpStatus; /* what we think the status is */ |
134 | struct semaphore tcpSem; | 138 | struct semaphore tcpSem; |
135 | struct task_struct *tsk; | 139 | struct task_struct *tsk; |