summaryrefslogtreecommitdiffstats
path: root/xlators/protocol
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2010-04-20 09:08:26 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-04-22 07:05:02 -0700
commit7c7bafa3b17dcc0c799b5d42ccb5726e52c4d94f (patch)
treeda1a95cc15bc94765b2863cfe9458ea75564bd0c /xlators/protocol
parent3eb79f8704909d118a694d9c41c5b97fa558aa91 (diff)
Do not hardcode the lru_limit on inodes to 1 Million while creating the inode table
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 834 (lru_limit on inodes is hardcoded to 1 million) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=834
Diffstat (limited to 'xlators/protocol')
-rw-r--r--xlators/protocol/server/src/server-protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server-protocol.c b/xlators/protocol/server/src/server-protocol.c
index f9059eb9216..71c5a1fc38c 100644
--- a/xlators/protocol/server/src/server-protocol.c
+++ b/xlators/protocol/server/src/server-protocol.c
@@ -5535,7 +5535,7 @@ mop_setvolume (call_frame_t *frame, xlator_t *bound_xl,
"xlator=%s", lru_limit, conn->bound_xl->name);
conn->bound_xl->itable =
- inode_table_new (1048576,
+ inode_table_new (lru_limit,
conn->bound_xl);
}