From 767b6b7d3f5b5e96e13f459fae6260d7cb129403 Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Thu, 5 Aug 2010 03:59:38 +0000 Subject: Implement mem pool for inode dentry Ran posix compliance test and sanity test Signed-off-by: shishir gowda Signed-off-by: Anand V. Avati BUG: 329 (Replacing memory allocation functions with mem-type functions) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=329 --- libglusterfs/src/inode.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libglusterfs/src/inode.h') diff --git a/libglusterfs/src/inode.h b/libglusterfs/src/inode.h index ef7866b0986..dbc721546f7 100644 --- a/libglusterfs/src/inode.h +++ b/libglusterfs/src/inode.h @@ -63,6 +63,8 @@ struct _inode_table { number. inode_t's @hash is linked with @attic. It is otherwise linked with @inode_hash */ uint32_t attic_size; + struct mem_pool *inode_pool; /* memory pool for inodes */ + struct mem_pool *dentry_pool; /* memory pool for dentrys */ }; -- cgit