Whamcloud - gitweb
LU-6529 ldlm: cancel aged locks for LRUR 56/14856/5
authorNiu Yawei <yawei.niu@intel.com>
Tue, 19 May 2015 04:08:35 +0000 (00:08 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 25 May 2015 03:02:16 +0000 (03:02 +0000)
commit0356990876308f811cc6c61c22946a1cd73e5c23
tree58dd6037114c8fd02b3fbaecc68022426fb3b22b
parent800e18fc318096e0e552e9cb1927ad99b61d205e
LU-6529 ldlm: cancel aged locks for LRUR

It doesn't make sense to keep the very aged lock even with the
LRUR policy. This patch decreased the default ns_max_age from 10
hours to 65 minutes and changed LRUR policy to cancel very aged
locks.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: Iabf6f50a7837821afcf2a75b6c17c7484b34667f
Reviewed-on: http://review.whamcloud.com/14856
Tested-by: Jenkins
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_dlm.h
lustre/ldlm/ldlm_request.c
lustre/tests/sanity.sh