From 7a2cee9f1aed185110d3b346239781e00afe0de2 Mon Sep 17 00:00:00 2001 From: Steve French Date: Sat, 3 Dec 2005 14:11:37 -0800 Subject: [PATCH] --- yaml --- r: 18993 b: refs/heads/master c: 07475ffba5800c53573180dd521273642adcd0e9 h: refs/heads/master i: 18991: d8d7021f0fc3fded0b201298ec65e10d29ce88d7 v: v3 --- [refs] | 2 +- trunk/fs/cifs/cifs_debug.c | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 7d6a348bf88b..1e1cdfc66bdd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4498eed50a114565debd38f173acd62cce6e7cb8 +refs/heads/master: 07475ffba5800c53573180dd521273642adcd0e9 diff --git a/trunk/fs/cifs/cifs_debug.c b/trunk/fs/cifs/cifs_debug.c index 7f19f2547d01..6f5d81f5eacb 100644 --- a/trunk/fs/cifs/cifs_debug.c +++ b/trunk/fs/cifs/cifs_debug.c @@ -280,6 +280,14 @@ cifs_stats_read(char *buf, char **beginBuffer, off_t offset, smBufAllocCount.counter,cifs_min_small); length += item_length; buf += item_length; +#ifdef CONFIG_CIFS_STATS2 + item_length = sprintf(buf, "Total Large %d Small %d Allocations\n", + atomic_read(&totBufAllocCount), + atomic_read(&totSmBufAllocCount)); + length += item_length; + buf += item_length; +#endif /* CONFIG_CIFS_STATS2 */ + item_length = sprintf(buf,"Operations (MIDs): %d\n", midCount.counter);