Whamcloud - gitweb
LU-14442 utils: [-r|-w] options for get/list_param 65/55665/18
authorFrederick Dilger <fdilger@whamcloud.com>
Mon, 8 Jul 2024 20:29:29 +0000 (14:29 -0600)
committerOleg Drokin <green@whamcloud.com>
Sun, 2 Feb 2025 06:23:58 +0000 (06:23 +0000)
commitef277f551f9579ad3d75515f6b3bd0e4275285ae
tree45cadbbcbc27cbca65611581076542ce05033e3c
parent015f0b31e9ceb50cb317d77e5564a978a55986be
LU-14442 utils: [-r|-w] options for get/list_param

New [--readable|-r] and [--writable|-w] options have been added for
get_param and list_param that will only print parameters with the
specified permissions.
This is useful to find tunable parameters, or avoid write-only
parameters or statistics.

Signed-off-by: Frederick Dilger <fdilger@whamcloud.com>
Change-Id: I00fca8f354733c9ee6d75c60e39121c12068a2a4
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55665
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/conf/mount.client.params
lustre/doc/lctl-get_param.8
lustre/doc/lctl-list_param.8
lustre/tests/sanity.sh
lustre/utils/lctl.c
lustre/utils/lctl_thread.h
lustre/utils/lustre_param.c