Whamcloud - gitweb
LU-3321 obdclass: Add a preallocated percpu cl_env 74/8174/5
authorJinshan Xiong <jinshan.xiong@intel.com>
Tue, 5 Nov 2013 03:39:58 +0000 (19:39 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 22 Nov 2013 07:46:50 +0000 (07:46 +0000)
commit110d8d4952a9de607cf21f648d75e0b05ef0cee1
tree42f20f32d5797663c166470820d0679da8a896ca
parentff353fef1eca3cc4d4b492b9591c819c00f4e8dc
LU-3321 obdclass: Add a preallocated percpu cl_env

This change adds support for a single preallocated cl_env per CPU
which can be used in circumstances where reschedule is not possible.
Currently this interface is only used by the ll_releasepage function.

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Signed-off-by: Prakash Surya <surya1@llnl.gov>
Change-Id: I14a06294f0c2caae8806d7da134a8076f75ddc81
Reviewed-on: http://review.whamcloud.com/8174
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
libcfs/include/libcfs/user-prim.h
lustre/include/cl_object.h
lustre/llite/rw26.c
lustre/obdclass/cl_lock.c
lustre/obdclass/cl_object.c
lustre/obdclass/cl_page.c