Whamcloud - gitweb
LU-4416 mm: Backport shrinker changes from upstream 00/9300/21
authorYang Sheng <yang.sheng@intel.com>
Thu, 24 Apr 2014 03:43:09 +0000 (11:43 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 30 May 2014 04:04:48 +0000 (04:04 +0000)
commit52d620153307605c54ea5cdb4fe95249d94081e6
treecd894416b0d1c928792e3503381d5086df22db28
parentf6dc0994f2bb5d2624e622213b634e74a1c76e3f
LU-4416 mm: Backport shrinker changes from upstream

Convert shrinker to new count/scan API.
--ptlrpc shrinker
--lu_object shrinker
--ldlm pool shrinker

Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Yang Sheng <yang.sheng@intel.com>
Change-Id: Idbd7cd3b7488202e5e8f6fdf757ae6d20e28d642
Reviewed-on: http://review.whamcloud.com/9300
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/linux/linux-mem.h
libcfs/include/libcfs/posix/libcfs.h
lustre/ldlm/ldlm_pool.c
lustre/obdclass/lu_object.c
lustre/ptlrpc/sec_bulk.c