Whamcloud - gitweb
LU-3676 llite: to configure max_cached_mb correctly 83/11783/2
authorJinshan Xiong <jinshan.xiong@intel.com>
Fri, 5 Sep 2014 19:31:59 +0000 (12:31 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 11 Sep 2014 19:52:06 +0000 (19:52 +0000)
commitb0135d72b783eed4d9b86532be6244ebc57b1f39
tree5fe477456d14b57175647349a2955b01b2a2ed09
parent736ffdc4d6975aaeac83019dd2a88100f4e3d028
LU-3676 llite: to configure max_cached_mb correctly

If there exists MGS conf_param to reduce the memory cache
max_cached_mb it will fail because dt_exp is not initialized
yet.

It should just go ahead and configure it because certainly it
have enough free LRU slot to deduct ccc_lru_left.

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I317e556413bc63086378dec294d8ba2792afca52
Reviewed-on: http://review.whamcloud.com/11783
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/llite/lproc_llite.c