diff options
author | Oleg Drokin <green@linuxhacker.ru> | 2015-05-21 15:32:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-31 10:50:19 +0900 |
commit | 87d32094efc208f31e4e3b226d25e58058352208 (patch) | |
tree | 7e0ad527c4ffd677ab0eed2e63592c6f31a43860 /drivers/staging/lustre/sysfs-fs-lustre | |
parent | 6784096b4818636ad512575c701e164e8e6a09d3 (diff) | |
download | linux-87d32094efc208f31e4e3b226d25e58058352208.tar.bz2 |
staging/lustre/ldlm: move namespaces/early_lock_cancel to sysfs
Move ldlm display of early_lock_cancel 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 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/staging/lustre/sysfs-fs-lustre b/drivers/staging/lustre/sysfs-fs-lustre index 0d379d0a6bb7..e54e4857dd53 100644 --- a/drivers/staging/lustre/sysfs-fs-lustre +++ b/drivers/staging/lustre/sysfs-fs-lustre @@ -222,3 +222,16 @@ Description: namespace. 0 - LRU size is unlimited, controlled by server resources positive number - number of locks to allow in lock LRU list + +What: /sys/fs/lustre/ldlm/namespaces/<name>/early_lock_cancel +Date: May 2015 +Contact: "Oleg Drokin" <oleg.drokin@intel.com> +Description: + Controls "early lock cancellation" feature on this namespace + if supported by the server. + When enabled, tries to preemtively cancel locks that would be + cancelled by verious operations and bundle the cancellation + requests in the same RPC as the main operation, which results + in significant speedups due to reduced lock-pingpong RPCs. + 0 - disabled + 1 - enabled (default) |