Whamcloud - gitweb
LU-11077 utils: move get/set/list_param into own file 42/55642/9
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 3 Jul 2024 16:35:44 +0000 (10:35 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 16 Aug 2024 23:51:57 +0000 (23:51 +0000)
commit8be38f4bd83b3dd027afe1daf22b7843ae913a62
tree42f7525bfcecc208126d288d6e4fd5ed2ddd7c74
parentcd7c1407e35f2da2316a7ad67a3f7326694b6d4e
LU-11077 utils: move get/set/list_param into own file

Move the "lctl get_param/set_param/list_param" handling code into a
separate file so that the functions can be called within the code
elsewhere without the need for all the dependencies.

Remove obsolete "local_cfg" and "set_timeout" sub-commands that
have been obsolete since "set_param" was added.

Signed-off-by: Frederick Dilger <fdilger@whamcloud.com>
Change-Id: If4dc44abb1f5de4a3c24e043ba9a352ef7c0e1ec
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55642
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/utils/Makefile.am
lustre/utils/lctl.c
lustre/utils/lustre_cfg.c
lustre/utils/lustre_param.c [new file with mode: 0644]
lustre/utils/obdctl.h