Whamcloud - gitweb
LU-14442 utils: --tunable opt for list/get_param 23/55723/18
authorFrederick Dilger <fdilger@whamcloud.com>
Wed, 10 Jul 2024 04:02:18 +0000 (22:02 -0600)
committerOleg Drokin <green@whamcloud.com>
Sun, 2 Feb 2025 06:24:10 +0000 (06:24 +0000)
commit5ed2090176ab0f3ce807fa47d96402d2418eb9b5
tree3660cc485d9fbb1e16b3a025a6a8631087d214ad
parentef277f551f9579ad3d75515f6b3bd0e4275285ae
LU-14442 utils: --tunable opt for list/get_param

Added new [--tunable|-t] option for 'lctl {list|get}_param' that
will only print tunable parameters. Specifically it excludes all
params that contain any of the following strings:

console|debug_|fail_|force|import|nis|panic_|sepol|stats|target_obd

This is used for debugging system performance as it creates an easy
way to collect all of the Lustre tuning parameters for each run.
This can be combined with --no-links and --readable to remove a great
deal of unwanted information being printed.

LIST_PATHNAME was removed as it only added more to maintain while
the purpose of that option can be achieved in a single line.

Test-Parameters:trivial
Signed-off-by: Frederick Dilger <fdilger@whamcloud.com>
Change-Id: I847884af2fc16611f34e3e44a3f3990d39d7f39b
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55723
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/doc/lctl-get_param.8
lustre/doc/lctl-list_param.8
lustre/utils/lctl.c
lustre/utils/lctl_thread.h
lustre/utils/lustre_param.c