Whamcloud - gitweb
LU-1535 ldlm: backport fix for LU-1128
authorLai Siyao <laisiyao@whamcloud.com>
Tue, 19 Jun 2012 08:58:41 +0000 (16:58 +0800)
committerJohann Lombardi <johann@whamcloud.com>
Thu, 21 Jun 2012 17:01:33 +0000 (13:01 -0400)
commite53e7569dd84e6f99c3cf4ac9a1b072bc68f0425
treed89ffed499c87fb33843bec0844d3dddc4432579
parent3a4f224a19b427f893ccd0acb8c1c57da365ea8b
LU-1535 ldlm: backport fix for LU-1128

Backport fix for LU-1128 to 1.8:
For ldlm server pool shrinker, we just use it to decrease SLV,
but never reclaim any memory directly, so it should always return
-1 to inform the kernel to break the shrink loop.

Signed-off-by: Lai Siyao <laisiyao@whamcloud.com>
Change-Id: I1c841e7485375017d33e93c59f2318318fae299c
Reviewed-on: http://review.whamcloud.com/3138
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/ldlm/ldlm_pool.c