diff options
author | Oleg Drokin <green@linuxhacker.ru> | 2015-05-21 15:32:05 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-31 10:50:20 +0900 |
commit | 24b8c88a7122df35ce6a413cd76e9581411eab8f (patch) | |
tree | fde19504332ba177d160719afa75a17ef5b46fad /drivers/staging/lustre/sysfs-fs-lustre | |
parent | staging/lustre/ldlm: Add infrastructure to move ldlm pool controls to sysfs (diff) | |
download | linux-dev-24b8c88a7122df35ce6a413cd76e9581411eab8f.tar.xz linux-dev-24b8c88a7122df35ce6a413cd76e9581411eab8f.zip |
staging/lustre/ldlm: move procfs ldlm pool stats to sysfs
Suitable contents of /proc/fs/lustre/ldlm/namespaces/.../pools/
is moved to /sys/fs/lustre/ldlm/namespaces/.../pools/:
cancel_rate grant_plan grant_speed lock_volume_factor
server_lock_volume granted grant_rate limit recalc_period
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 | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/drivers/staging/lustre/sysfs-fs-lustre b/drivers/staging/lustre/sysfs-fs-lustre index 3aaa5ae9e0c4..39295e84c8fd 100644 --- a/drivers/staging/lustre/sysfs-fs-lustre +++ b/drivers/staging/lustre/sysfs-fs-lustre @@ -249,3 +249,65 @@ Description: in significant speedups due to reduced lock-pingpong RPCs. 0 - disabled 1 - enabled (default) + +What: /sys/fs/lustre/ldlm/namespaces/<name>/pool/granted +Date: May 2015 +Contact: "Oleg Drokin" <oleg.drokin@intel.com> +Description: + Displays number of granted locks in this namespace + +What: /sys/fs/lustre/ldlm/namespaces/<name>/pool/grant_rate +Date: May 2015 +Contact: "Oleg Drokin" <oleg.drokin@intel.com> +Description: + Number of granted locks in this namespace during last + time interval + +What: /sys/fs/lustre/ldlm/namespaces/<name>/pool/cancel_rate +Date: May 2015 +Contact: "Oleg Drokin" <oleg.drokin@intel.com> +Description: + Number of lock cancellations in this namespace during + last time interval + +What: /sys/fs/lustre/ldlm/namespaces/<name>/pool/grant_speed +Date: May 2015 +Contact: "Oleg Drokin" <oleg.drokin@intel.com> +Description: + Calculated speed of lock granting (grant_rate - cancel_rate) + in this namespace + +What: /sys/fs/lustre/ldlm/namespaces/<name>/pool/grant_plan +Date: May 2015 +Contact: "Oleg Drokin" <oleg.drokin@intel.com> +Description: + Estimated number of locks to be granted in the next time + interval in this namespace + +What: /sys/fs/lustre/ldlm/namespaces/<name>/pool/limit +Date: May 2015 +Contact: "Oleg Drokin" <oleg.drokin@intel.com> +Description: + Controls number of allowed locks in this pool. + When lru_size is 0, this is the actual limit then. + +What: /sys/fs/lustre/ldlm/namespaces/<name>/pool/lock_volume_factor +Date: May 2015 +Contact: "Oleg Drokin" <oleg.drokin@intel.com> +Description: + Multiplier for all lock volume calculations above. + Default is 1. Increase to make the client to more agressively + clean it's lock LRU list for this namespace. + +What: /sys/fs/lustre/ldlm/namespaces/<name>/pool/server_lock_volume +Date: May 2015 +Contact: "Oleg Drokin" <oleg.drokin@intel.com> +Description: + Calculated server lock volume. + +What: /sys/fs/lustre/ldlm/namespaces/<name>/pool/recalc_period +Date: May 2015 +Contact: "Oleg Drokin" <oleg.drokin@intel.com> +Description: + Controls length of time between recalculation of above + values (in seconds). |