Whamcloud - gitweb
LU-3321 clio: revert LU-2622 for removing global env list 88/7888/5
authorJinshan Xiong <jinshan.xiong@intel.com>
Mon, 30 Sep 2013 21:09:26 +0000 (14:09 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 5 Nov 2013 01:49:15 +0000 (01:49 +0000)
commit93fe562c5dd3829939e3bc0533918f66b19776a4
tree371a4d2772ff0bd14a21748dab07828c2430e0ad
parentafacbae9e3e8ce7ba4ff0ad9bd57899095ad7a46
LU-3321 clio: revert LU-2622 for removing global env list

Revert "LU-2622 obdclass: Remove the global cl_env list"

This reverts commit d5390bbde9b525b13ab91f5610abe1c4bb98eff9.

The performance dropped a lot when memory reclaim process kicked
in as ll_releasepage() was called to destroy lustre pages. It turned
out that big overhead to allocate cl_env and keys on the fly so we
have to revert this patch.

The problem of LU-2622 will be solved in another patch later on.

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: If5f9faeabbe78d3a88b25bf986a2c9a2ecc9ba12
Reviewed-on: http://review.whamcloud.com/7888
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/cl_object.h
lustre/lclient/lcommon_misc.c
lustre/liblustre/llite_cl.c
lustre/llite/llite_lib.c
lustre/obdclass/cl_object.c
lustre/obdclass/lu_object.c