summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/sysfs-fs-lustre
diff options
context:
space:
mode:
authorOleg Drokin <green@linuxhacker.ru>2015-05-21 15:31:56 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-31 10:50:19 +0900
commit0f53c823f9664683ce1aadab2d6a4cee950d6f62 (patch)
tree55aa87f30a94823973df616e7b2447e6a373a320 /drivers/staging/lustre/sysfs-fs-lustre
parent18fd8850a4c8177ecf4870ff38c208d329a21ed0 (diff)
downloadlinux-0f53c823f9664683ce1aadab2d6a4cee950d6f62.tar.bz2
staging/lustre/ldlm: move cancel_unused_locks_before_replay to sysfs
/proc/fs/lustre/ldlm/cancel_unused_locks_before_replay is moved to /sys/fs/lustre/ldlm/cancel_unused_locks_before_replay Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/sysfs-fs-lustre')
-rw-r--r--drivers/staging/lustre/sysfs-fs-lustre10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/staging/lustre/sysfs-fs-lustre b/drivers/staging/lustre/sysfs-fs-lustre
index ec4ae4726cdc..efe3440ae1f1 100644
--- a/drivers/staging/lustre/sysfs-fs-lustre
+++ b/drivers/staging/lustre/sysfs-fs-lustre
@@ -190,3 +190,13 @@ Contact: "Oleg Drokin" <oleg.drokin@intel.com>
Description:
Controls extended attributes client-side cache.
1 to enable, 0 to disable.
+
+What: /sys/fs/lustre/ldlm/cancel_unused_locks_before_replay
+Date: May 2015
+Contact: "Oleg Drokin" <oleg.drokin@intel.com>
+Description:
+ Controls if client should replay unused locks during recovery
+ If a client tends to have a lot of unused locks in LRU,
+ recovery times might become prolonged.
+ 1 - just locally cancel unused locks (default)
+ 0 - replay unused locks.