Skip to content

RFC dlm_controld config settings can be

Heming Zhao cluster-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10dlm_tool man: add command "joinleave", add "USAGE" sectiondlm_tool/dlm_tool.8+79 -00 replies
2/10dlm_tool: add run_(check|cancel) all featuredlm_tool/dlm_tool.8 dlm_tool/main.c+62 -230 replies
3/10dlm_tool man: add dynamic setting and examplesdlm_tool/dlm_tool.8+57 -00 replies
4/10dlm_controld: put MAX_LINE in header filedlm_controld/config.c dlm_controld/dlm_daemon.h dlm_controld/node_config.c+3 -60 replies
5/10dlm_controld: add dynamic setting items in "struct dlm_option"dlm_controld/dlm_daemon.h+6 -00 replies
6/10dlm_controld: change dlm_options[] to shared memory typedlm_controld/dlm_daemon.h dlm_controld/main.c+13 -20 replies
7/10dlm_controld: make few APIs publicdlm_controld/action.c dlm_controld/dlm_daemon.h dlm_controld/logging.c +1 more+22 -60 replies
8/10dlm_controld: support "dlm_tool dump_config" to show dynamic settingdlm_controld/main.c+39 -310 replies
9/10dlm_controld: add new API set_opt_online()dlm_controld/config.c dlm_controld/dlm_daemon.h+127 -00 replies
10/10dlm_controld: enable "dlm_tool run|run_start" dynamic setting featuredlm_controld/helper.c+32 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Cluster-devel] [RFC PATCH dlm 00/10] dlm_controld config settings can be

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(-)
Signature · 1 line
2.32.0