Whamcloud - gitweb
LU-17343 utils: added --path option for lctl list_param 02/55202/3
authorFrederick Dilger <fdilger@whamcloud.com>
Sat, 25 May 2024 23:23:20 +0000 (19:23 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 5 Jun 2024 04:52:45 +0000 (04:52 +0000)
commite1a9d08351721d280faed51a2061e3e16f25a6b2
treebbaf84e18425dd088759278db7f80c33c40b35e2
parent3abd26f36c82da57645a79d56b3c7446fad01a70
LU-17343 utils: added --path option for lctl list_param

Added 'lctl list_param [-p] PARAM' option that prints the
actual pathname(s) for PARAM instead of the parameter names(s).
This should allow users to "resolve" PARAM pathnames so that they
can be used directly, which avoids having to hard code them. Also
renamed "po_only_path" and "po_show_path" to be "po_only_name" and
"po_show_name" to avoid confusion with "po_only_pathname" for the new
option.

Signed-off-by: Frederick Dilger <fdilger@whamcloud.com>
Change-Id: I2259b930f3ac5cc46ac7a9a36218a44fa110157c
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55202
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/doc/lctl-list_param.8
lustre/tests/sanity.sh
lustre/utils/lctl.c
lustre/utils/lctl_thread.h
lustre/utils/lustre_cfg.c