systemd integraion
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | Improve logging for orphan_path()libmultipath/ libmultipath/ libmultipath/ +1 more | +9 | 0 replies | |
| 2/13 | Set priority to '0' for PATH_BLOCKED or PATH_DOWNlibmultipath/ | +3 | 0 replies | |
| 3/13 | libmultipath: fixup strlcpylibmultipath/ | +1 | 0 replies | |
| 4/13 | libmultipath: return error numbers from sysfs_get_XXXlibmultipath/ libmultipath/ libmultipath/ +1 more | +24 | 2 replies | |
| 5/13 | libmultipath: do not stall on recv_packet()libmultipath/ | +16 | 0 replies | |
| 6/13 | multipathd: switch to socket activation for systemdlibmultipath/ libmultipath/ multipathd/ +4 more | +35 | 0 replies | |
| 7/13 | multipathd: use sd_notify() to inform systemdmultipathd/ multipathd/ | +8 | 0 replies | |
| 8/13 | multipathd: Add option '-s' to suppress timestampslibmultipath/ libmultipath/ multipathd/ +2 more | +32 | 0 replies | |
| 9/13 | multipathd: Implement systemd watchdog integrationmultipath/ multipathd/ multipathd/ | +20 | 3 replies | |
| 10/13 | multipathd: enable core dumps for systemdmultipathd/ | +1 | 0 replies | |
| 11/13 | multipathd: Read environment variables from systemdmultipathd/ | +11 | 0 replies | |
| 12/13 | multipathd: measure path check timemultipathd/ | +21 | 0 replies | |
| 13/13 | multipathd: no_map_shutdown optionlibmultipath/ libmultipath/ multipath.conf.annotated +4 more | +69 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/13] systemd integraion
Hi all,
this is a patch series for proper systemd integration. Main idea is to have the CLI socket controlled by systemd, so that the daemon will be started automatically if someone calls 'multipathd -kSomething'.
The neat thing with this is that we can use the systemd-provided watchdog to detect stalls in checkerloop(), which always have been bitten us in the past and are really hard to diagnose remotely.
Plus with socket activation we can now safely implement a 'one-shot' mode, where the daemon exits if no maps are discovered. Which means that we can enable the socket always, and don't have to worry about a daemon sitting in the background eating up resources and doing nothing.
Oh. And some general fixes, too.
Hannes Reinecke (13):
Improve logging for orphan_path()
Set priority to '0' for PATH_BLOCKED or PATH_DOWN
libmultipath: fixup strlcpy
libmultipath: return error numbers from sysfs_get_XXX
libmultipath: do not stall on recv_packet()
multipathd: switch to socket activation for systemd
multipathd: use sd_notify() to inform systemd
multipathd: Add option '-s' to suppress timestamps
multipathd: Implement systemd watchdog integration
multipathd: enable core dumps for systemd
multipathd: Read environment variables from systemd
multipathd: measure path check time
multipathd: no_map_shutdown option
libmultipath/Makefile | 2 +- libmultipath/config.h | 1 + libmultipath/configure.c | 4 +- libmultipath/debug.c | 17 ++++---- libmultipath/devmapper.c | 16 ++++---- libmultipath/dict.c | 32 +++++++++++++++ libmultipath/discovery.c | 43 +++++++++++--------- libmultipath/discovery.h | 2 +- libmultipath/propsel.c | 2 +- libmultipath/structs_vec.c | 9 ++--- libmultipath/structs_vec.h | 2 +- libmultipath/util.c | 3 +- libmultipath/uxsock.c | 41 +++++++++++++++++-- multipath.conf.annotated | 9 +++++ multipath/multipath.conf.5 | 14 ++++++- multipathd/Makefile | 4 +- multipathd/main.c | 94 ++++++++++++++++++++++++++++++++++--------- multipathd/multipathd.8 | 11 ++++- multipathd/multipathd.service | 10 +++-- multipathd/multipathd.socket | 5 +++ multipathd/uxclnt.c | 4 +- multipathd/uxlsnr.c | 4 +- 22 files changed, 245 insertions(+), 84 deletions(-) create mode 100644 multipathd/multipathd.socket
Signature · 1 line
1.8.1.4