Add "reconfigure all" multipath command
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 2 repliesIn review
- v2 posting 2/24 patches 4 repliesSuperseded
- v2 posting 1/24 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 10 replies | Superseded |
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | multipathd: move delayed_reconfig out of struct configlibmpathpersist/ libmultipath/ libmultipath/ +1 more | +42 | 0 replies | |
| 2/4 | multipathd: remove reconfigure from header file.multipathd/ | +0 | 0 replies | |
| 3/4 | multipathd: pass in the type of reconfigurelibmultipath/ multipathd/ multipathd/ +1 more | +32 | 0 replies | |
| 4/4 | multipathd: add "reconfigure all" command.multipath/ multipathd/ multipathd/ +3 more | +23 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Martin Wilck |
|---|---|
| Series | R-b |
| 1/4 | |
| 2/4 | R-b |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [dm-devel] [PATCH v3 0/4] Add "reconfigure all" multipath command
This patchset is supposed to replace Martin's
multipathd: add "force_reconfigure" option
patch from his uxlsnr overhaul patchset. It also makes the default reconfigure be a weak reconfigure, but instead of adding a configuration option to control this, it adds a new multipathd command, "reconfigure all", to do a full reconfigure. The HUP signal is left doing only weak reconfigures.
In order to keep from having two states that are handled nearly identically, the code adds an extra variable to track the type of configuration that was selected, but this could easily be switch to use a new DAEMON_CONFIGURE_ALL state instead.
The final patch, that added the new command, is meant to apply on top of Martin's changed client handler code. I can send one that works with the current client handler code, if people would rather review that.
Changes from v2 as suggested by Martin Wilck:
0003: configure() and enable_delayed_reconfig() directly access reload_type, instead of having the value passed in. schedule_reconfigure() takes an enum force_reload_types instead of a bool
0004: Modified to deal with schedule_reconfigure() changes.
Changes from v1 as suggested by Martin Wilck:
0001: update libmultipath.version to handle ABI change in struct config 0003: Clarify commit message
Benjamin Marzinski (4):
multipathd: move delayed_reconfig out of struct config
multipathd: remove reconfigure from header file.
multipathd: pass in the type of reconfigure
multipathd: add "reconfigure all" command.
libmpathpersist/libmpathpersist.version | 12 ++-- libmultipath/config.h | 1 - libmultipath/configure.c | 2 +- libmultipath/libmultipath.version | 22 +++---- multipath/main.c | 2 +- multipathd/cli.c | 1 + multipathd/cli.h | 2 + multipathd/cli_handlers.c | 12 +++- multipathd/main.c | 84 +++++++++++++++---------- multipathd/main.h | 3 +- multipathd/multipathd.8 | 10 ++- 11 files changed, 88 insertions(+), 63 deletions(-)
Signature · 6 lines
2.17.2 -- dm-devel mailing list [email protected] https://listman.redhat.com/mailman/listinfo/dm-devel