summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2010-04-20 09:01:53 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-04-22 07:05:14 -0700
commitebb7cac6f9d8b97e3c5dc9e9c6709d5dca6ae60b (patch)
tree3d34baf33bc2aa357da8c3f897fb75f6e5fea8e2 /xlators
parent1511c2d5fab879faad9e0156dc06a16c94fcfb13 (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')
-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 4562eae..6af276e 100644
--- a/xlators/protocol/server/src/server-protocol.c
+++ b/xlators/protocol/server/src/server-protocol.c
@@ -5895,7 +5895,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);
}