diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2010-10-26 06:39:06 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-10-26 23:11:40 -0700 |
commit | bd890a0f53142e60e70e6cad8363738d607fbdb4 (patch) | |
tree | 72ca0e37a9d14c0dfc3456a710d9b432b56fbd81 /libglusterfs/src/inode.h | |
parent | c9c411b48aa0477cd44c18cbdf83d14389d27221 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/inode.h b/libglusterfs/src/inode.h index de423d888ae..15a4f98f7bd 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; |