summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/inode.h
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-10-26 06:39:06 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-10-26 23:11:40 -0700
commitbd890a0f53142e60e70e6cad8363738d607fbdb4 (patch)
tree72ca0e37a9d14c0dfc3456a710d9b432b56fbd81 /libglusterfs/src/inode.h
parentc9c411b48aa0477cd44c18cbdf83d14389d27221 (diff)
core: Use lru_limit as count for inode and dentry mempool
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1948 (For each subvolume started, glusterfs process takes up around 30-35MB more memory) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1948
Diffstat (limited to 'libglusterfs/src/inode.h')
-rw-r--r--libglusterfs/src/inode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/inode.h b/libglusterfs/src/inode.h
index de423d888..15a4f98f7 100644
--- a/libglusterfs/src/inode.h
+++ b/libglusterfs/src/inode.h
@@ -28,6 +28,7 @@
#include <stdint.h>
#include <sys/types.h>
+#define DEFAULT_INODE_MEMPOOL_ENTRIES 16384
struct _inode_table;
typedef struct _inode_table inode_table_t;