aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre/include/lustre_import.h
diff options
context:
space:
mode:
authorVitaly Fertman <vitaly.fertman@seagate.com>2016-03-30 19:49:04 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-30 21:38:13 -0700
commit2640256e388f8f5dd2f9fdbb034b3c0332e10e41 (patch)
tree9d849786d888d3724c0ad5f9476956bbb94ae540 /drivers/staging/lustre/lustre/include/lustre_import.h
parentstaging/lustre/ldlm: revert changes to ldlm_cancel_aged_policy() (diff)
downloadlinux-dev-2640256e388f8f5dd2f9fdbb034b3c0332e10e41.tar.xz
linux-dev-2640256e388f8f5dd2f9fdbb034b3c0332e10e41.zip
staging/lustre/ldlm: restore the ELC for enqueue
after LU-4300 enqueue does not ELC anymore, however if enqueue is agressive (ls -la of a large dir) we may exceed lru-resize limit quickly because LRUR shrinker and recalc are called not so often. ELC is to be restored in enqueue. ELC also should check for the lock weight, in addition to LRUR. ELC can also keep "skipped" locks, i.e. once checked for the weight and left in the lru - let LRUR take care about them later. LRUR is to be left untouched, no weight logic, otherwise LU-5727 appears and OPEN locks do not get canceled. Xyratex-bug-id: MRP-2550 Signed-off-by: Vitaly Fertman <vitaly.fertman@seagate.com> Reviewed-on: http://review.whamcloud.com/14342 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6390 Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com> Reviewed-by: Niu Yawei <yawei.niu@intel.com> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/include/lustre_import.h')
0 files changed, 0 insertions, 0 deletions