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:
parent
3eb79f8704
commit
7c7bafa3b1
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user