From 333deef1ebe5e05c07d6d8307783897cb243a5ff Mon Sep 17 00:00:00 2001 From: Cyril Bordage Date: Mon, 19 Oct 2020 18:10:23 +0200 Subject: [PATCH] LU-13728 utils: add missing global parameters lnetctl export shows the complete set of global parameters as with lnetctl global. Signed-off-by: Cyril Bordage Change-Id: I4d864fb4734679106ac6c49ec7f57f5e00ba3434 Reviewed-on: https://review.whamcloud.com/40298 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Chris Horn Reviewed-by: Amir Shehata Reviewed-by: Oleg Drokin --- lnet/utils/lnetctl.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/lnet/utils/lnetctl.c b/lnet/utils/lnetctl.c index c2a5f82..33bf046 100644 --- a/lnet/utils/lnetctl.c +++ b/lnet/utils/lnetctl.c @@ -1711,6 +1711,42 @@ static int jt_export(int argc, char **argv) err_rc = NULL; } + rc = lustre_lnet_show_retry_count(-1, &show_rc, &err_rc); + if (rc != LUSTRE_CFG_RC_NO_ERR) { + cYAML_print_tree2file(stderr, err_rc); + err_rc = NULL; + } + + rc = lustre_lnet_show_transaction_to(-1, &show_rc, &err_rc); + if (rc != LUSTRE_CFG_RC_NO_ERR) { + cYAML_print_tree2file(stderr, err_rc); + err_rc = NULL; + } + + rc = lustre_lnet_show_hsensitivity(-1, &show_rc, &err_rc); + if (rc != LUSTRE_CFG_RC_NO_ERR) { + cYAML_print_tree2file(stderr, err_rc); + err_rc = NULL; + } + + rc = lustre_lnet_show_recov_intrv(-1, &show_rc, &err_rc); + if (rc != LUSTRE_CFG_RC_NO_ERR) { + cYAML_print_tree2file(stderr, err_rc); + err_rc = NULL; + } + + rc = lustre_lnet_show_rtr_sensitivity(-1, &show_rc, &err_rc); + if (rc != LUSTRE_CFG_RC_NO_ERR) { + cYAML_print_tree2file(stderr, err_rc); + err_rc = NULL; + } + + rc = lustre_lnet_show_lnd_timeout(-1, &show_rc, &err_rc); + if (rc != LUSTRE_CFG_RC_NO_ERR) { + cYAML_print_tree2file(stderr, err_rc); + err_rc = NULL; + } + rc = lustre_lnet_show_response_tracking(-1, &show_rc, &err_rc); if (rc != LUSTRE_CFG_RC_NO_ERR) { cYAML_print_tree2file(stderr, err_rc); -- 1.8.3.1