From eb8a9aae19755bc21afe2d8ed4893b788c4e84ff Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Thu, 1 Mar 2012 17:25:12 +0530 Subject: core: dict allocations through mem-pool Change-Id: I7401639060957d437808779745a1e46c3f9f4585 Signed-off-by: Amar Tumballi BUG: 798503 Reviewed-on: http://review.gluster.com/2851 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- libglusterfs/src/glusterfs.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libglusterfs/src/glusterfs.h') diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index 0ab576798..0d4240a2a 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; -- cgit