From: Cyril Bordage Date: Mon, 19 Oct 2020 16:10:23 +0000 (+0200) Subject: LU-13728 utils: add missing global parameters X-Git-Tag: 2.13.57~97 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F98%2F40298%2F2;p=fs%2Flustre-release.git 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 --- 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);