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
This commit is contained in:
Raghavendra Bhat 2010-04-20 09:08:26 +00:00 committed by Anand V. Avati
parent 3eb79f8704
commit 7c7bafa3b1

View File

@ -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);
}