aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2005-12-03 16:58:57 -0500
committerSteve French <sfrench@us.ibm.com>2005-12-03 16:58:57 -0500
commit4498eed50a114565debd38f173acd62cce6e7cb8 (patch)
tree8a94482e9a7b98bb32aab518a0fce74075eabd2f /fs/cifs/cifsglob.h
parent84afc29b185334f489975a003b128e1b15e24a54 (diff)
[CIFS] Add extended stats (STATS2) for total buffer allocations for
better performance debugging. Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 1ba08f8c5bc4..c011c278af4c 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -505,8 +505,12 @@ GLOBAL_EXTERN atomic_t tcpSesReconnectCount;
505GLOBAL_EXTERN atomic_t tconInfoReconnectCount; 505GLOBAL_EXTERN atomic_t tconInfoReconnectCount;
506 506
507/* Various Debug counters to remove someday (BB) */ 507/* Various Debug counters to remove someday (BB) */
508GLOBAL_EXTERN atomic_t bufAllocCount; 508GLOBAL_EXTERN atomic_t bufAllocCount; /* current number allocated */
509GLOBAL_EXTERN atomic_t smBufAllocCount; 509#ifdef CONFIG_CIFS_STATS2
510GLOBAL_EXTERN atomic_t totBufAllocCount; /* total allocated over all time */
511GLOBAL_EXTERN atomic_t totSmBufAllocCount;
512#endif
513GLOBAL_EXTERN atomic_t smBufAllocCount;
510GLOBAL_EXTERN atomic_t midCount; 514GLOBAL_EXTERN atomic_t midCount;
511 515
512/* Misc globals */ 516/* Misc globals */