summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/glusterfs.h
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2012-03-01 17:25:12 +0530
committerVijay Bellur <vijay@gluster.com>2012-03-14 22:15:25 -0700
commiteb8a9aae19755bc21afe2d8ed4893b788c4e84ff (patch)
tree4bf00b663ea400f583728e4dc9e9c64cbda4c1f8 /libglusterfs/src/glusterfs.h
parentd05708d7976a8340ae7647fd26f38f22f1863b6a (diff)
core: dict allocations through mem-pool
Change-Id: I7401639060957d437808779745a1e46c3f9f4585 Signed-off-by: Amar Tumballi <amarts@redhat.com> BUG: 798503 Reviewed-on: http://review.gluster.com/2851 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'libglusterfs/src/glusterfs.h')
-rw-r--r--libglusterfs/src/glusterfs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
index 0ab5767980f..0d4240a2a6e 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -371,6 +371,11 @@ struct _glusterfs_ctx {
mempools, used to log details of
mempool in statedump */
char *statedump_path;
+
+ struct mem_pool *dict_pool;
+ struct mem_pool *dict_pair_pool;
+ struct mem_pool *dict_data_pool;
+
};
typedef struct _glusterfs_ctx glusterfs_ctx_t;