summaryrefslogtreecommitdiffstats
path: root/xlators/performance/stat-prefetch/src/stat-prefetch.h
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2010-09-02 05:04:32 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-02 05:56:54 -0700
commita2b9b121d2670014fce07e0e3bdc311c587c0f2f (patch)
treeb188e5d8e63f919595a0db239523256196640e30 /xlators/performance/stat-prefetch/src/stat-prefetch.h
parent4d14dffa00b134c1092133c90e92689f0ef82374 (diff)
dump total entries cached in stat-prefetch to state-dump file
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1059 (enhancements for getting statistics from performance translators) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1059
Diffstat (limited to 'xlators/performance/stat-prefetch/src/stat-prefetch.h')
-rw-r--r--xlators/performance/stat-prefetch/src/stat-prefetch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.h b/xlators/performance/stat-prefetch/src/stat-prefetch.h
index 16edf76aa..f072b19dc 100644
--- a/xlators/performance/stat-prefetch/src/stat-prefetch.h
+++ b/xlators/performance/stat-prefetch/src/stat-prefetch.h
@@ -82,6 +82,7 @@ typedef struct sp_inode_ctx sp_inode_ctx_t;
struct sp_private {
struct mem_pool *mem_pool;
+ uint32_t entries;
gf_lock_t lock;
};
typedef struct sp_private sp_private_t;