diff options
author | Oleg Drokin <green@linuxhacker.ru> | 2015-05-21 15:31:59 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-31 10:50:19 +0900 |
commit | 6784096b4818636ad512575c701e164e8e6a09d3 (patch) | |
tree | 81c2e3dbb30a69dc2a37e03ea7f05ecbfe53f7fa /drivers/staging/lustre/sysfs-fs-lustre | |
parent | 63af1f57474fac888116d896a0c5f17aeb6a702d (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-lustre | 9 |
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 |