From ebb7cac6f9d8b97e3c5dc9e9c6709d5dca6ae60b Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Tue, 20 Apr 2010 09:01:53 +0000 Subject: Do not hardcode the lru_limit on inodes to 1 Million while creating the inode table Signed-off-by: Raghavendra Bhat Signed-off-by: Anand V. Avati BUG: 834 (lru_limit on inodes is hardcoded to 1 million) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=834 --- xlators/protocol/server/src/server-protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators') diff --git a/xlators/protocol/server/src/server-protocol.c b/xlators/protocol/server/src/server-protocol.c index 4562eaea3ce..6af276ec886 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); } -- cgit