summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/inode.h
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2010-08-05 03:59:38 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-06 03:37:32 -0700
commit767b6b7d3f5b5e96e13f459fae6260d7cb129403 (patch)
tree80a8cee5be6b9eed718d5406c52e1d66e6bde5b6 /libglusterfs/src/inode.h
parent305025fbf823007fe715ea1ae0bbe44102221663 (diff)
Implement mem pool for inode dentry
Ran posix compliance test and sanity test Signed-off-by: shishir gowda <shishirng@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 329 (Replacing memory allocation functions with mem-type functions) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=329
Diffstat (limited to 'libglusterfs/src/inode.h')
-rw-r--r--libglusterfs/src/inode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/inode.h b/libglusterfs/src/inode.h
index ef7866b09..dbc721546 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 */
};