summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/sysfs-fs-lustre
diff options
context:
space:
mode:
authorOleg Drokin <green@linuxhacker.ru>2015-05-21 19:31:57 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-31 01:50:19 (GMT)
commit61d4a2e4b061179512fd4b240024a14646bb7b09 (patch)
tree054922f142b229e1f65c3d2d925a4ed1b7df81a2 /drivers/staging/lustre/sysfs-fs-lustre
parent0f53c823f9664683ce1aadab2d6a4cee950d6f62 (diff)
downloadlinux-61d4a2e4b061179512fd4b240024a14646bb7b09.tar.xz
staging/lustre/ldlm: move namespaces/resource_count to sysfs
Move ldlm display of resource_count 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-lustre7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/staging/lustre/sysfs-fs-lustre b/drivers/staging/lustre/sysfs-fs-lustre
index efe3440..0925869 100644
--- a/drivers/staging/lustre/sysfs-fs-lustre
+++ b/drivers/staging/lustre/sysfs-fs-lustre
@@ -200,3 +200,10 @@ Description:
recovery times might become prolonged.
1 - just locally cancel unused locks (default)
0 - replay unused locks.
+
+What: /sys/fs/lustre/ldlm/namespaces/<name>/resource_count
+Date: May 2015
+Contact: "Oleg Drokin" <oleg.drokin@intel.com>
+Description:
+ Displays number of lock resources (objects on which individual
+ locks are taken) currently allocated in this namespace.