summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/sysfs-fs-lustre
diff options
context:
space:
mode:
authorOleg Drokin <green@linuxhacker.ru>2015-05-21 15:31:59 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-31 10:50:19 +0900
commit6784096b4818636ad512575c701e164e8e6a09d3 (patch)
tree81c2e3dbb30a69dc2a37e03ea7f05ecbfe53f7fa /drivers/staging/lustre/sysfs-fs-lustre
parent63af1f57474fac888116d896a0c5f17aeb6a702d (diff)
staging/lustre/ldlm: move namespaces/lru_size to sysfs
Move ldlm display of lru_size from procfs to sysfs 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-lustre9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/staging/lustre/sysfs-fs-lustre b/drivers/staging/lustre/sysfs-fs-lustre
index 4541b6acda05..0d379d0a6bb7 100644
--- a/drivers/staging/lustre/sysfs-fs-lustre
+++ b/drivers/staging/lustre/sysfs-fs-lustre
@@ -213,3 +213,12 @@ Date: May 2015
Contact: "Oleg Drokin" <oleg.drokin@intel.com>
Description:
Displays number or locks allocated in this namespace.
+
+What: /sys/fs/lustre/ldlm/namespaces/<name>/lru_size
+Date: May 2015
+Contact: "Oleg Drokin" <oleg.drokin@intel.com>
+Description:
+ Controls and displays LRU size limit for unused locks for this
+ namespace.
+ 0 - LRU size is unlimited, controlled by server resources
+ positive number - number of locks to allow in lock LRU list