From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heming Zhao Date: Sun, 19 Sep 2021 14:43:12 +0800 Subject: [Cluster-devel] [RFC PATCH dlm 00/10] dlm_controld config settings can be Message-ID: <20210919064322.1670-1-heming.zhao@suse.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit This new feature gives dlm ability to change config settings dynamically. It's very useful for debugging, and also useful for adjusting HA behaviours while running. This feature gives more power function to advanced users. And HA Resource-Agent (RA) could also benefit from this feature. The new man page dlm_tool.8 show some example of this feature. For easy managing command running list, there is a patch to add "-A" on "dlm run_(check|cancel)". We can get rid of the boring uuid input when checking lots of running commands result/status. Heming Zhao (10): dlm_tool man: add command "joinleave", add "USAGE" section dlm_tool: add run_(check|cancel) all feature dlm_tool man: add dynamic setting and examples dlm_controld: put MAX_LINE in header file dlm_controld: add dynamic setting items in "struct dlm_option" dlm_controld: change dlm_options[] to shared memory type dlm_controld: make few APIs public dlm_controld: support "dlm_tool dump_config" to show dynamic setting dlm_controld: add new API set_opt_online() dlm_controld: enable "dlm_tool run|run_start" dynamic setting feature dlm_controld/action.c | 5 ++ dlm_controld/config.c | 132 +++++++++++++++++++++++++++++++++-- dlm_controld/dlm_daemon.h | 15 +++- dlm_controld/helper.c | 41 ++++++++--- dlm_controld/logging.c | 18 +++-- dlm_controld/main.c | 86 ++++++++++++++--------- dlm_controld/node_config.c | 2 - dlm_tool/dlm_tool.8 | 139 +++++++++++++++++++++++++++++++++++++ dlm_tool/main.c | 80 +++++++++++++++------ 9 files changed, 442 insertions(+), 76 deletions(-) -- 2.32.0