Skip to content

multipath systemd integration

Hannes Reinecke dm-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9Clarify uxsock logginglibmultipath/uxsock.c multipathd/uxclnt.c multipathd/uxlsnr.c+11 -80 replies
2/9Use system-provided regex implementationlibmultipath/Makefile libmultipath/regex.c libmultipath/regex.h+1 -42850 replies
3/9multipathd: Add option '-s' to suppress timestampslibmultipath/debug.c libmultipath/devmapper.c multipathd/main.c +1 more+31 -200 replies
4/9multipathd: switch to socket activation for systemdMakefile.inc libmultipath/Makefile libmultipath/uxsock.c +3 more+48 -60 replies
5/9multipathd: use sd_notify() to inform systemdmultipathd/Makefile multipathd/main.c multipathd/multipathd.service+39 -100 replies
6/9multipathd: Implement systemd watchdog integrationmultipath/multipath.conf.5 multipathd/Makefile multipathd/main.c +3 more+71 -232 replies
7/9multipathd: enable core dumps for systemdmultipathd/multipathd.service.in+1 -00 replies
8/9multipathd: Read environment variables from systemdmultipathd/main.c+11 -10 replies
9/9multipathd: measure path check timemultipathd/main.c+21 -70 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/9] multipath systemd integration

Hi Christophe,

here is now the patchset for systemd integration. As requested I've implemented a conditional compilation. Whenever systemd is installed on the system the systemd hooks are compiled in, or left out if not. I've also pulled the patch for the 'one-shot' mechanism as Ben Marzinski rightly pointed out issues with that one. The watchdog implementation has been clarified and tested; turned out to be a systemd issue where watchdog is only working properly on later versions of systemd.

Hannes Reinecke (9):
Clarify uxsock logging
Use system-provided regex implementation
multipathd: Add option '-s' to suppress timestamps
multipathd: switch to socket activation for systemd
multipathd: use sd_notify() to inform systemd
multipathd: Implement systemd watchdog integration
multipathd: enable core dumps for systemd
multipathd: Read environment variables from systemd
multipathd: measure path check time

 Makefile.inc                     |    6 +
 libmultipath/Makefile            |    8 +-
 libmultipath/debug.c             |   17 +-
 libmultipath/devmapper.c         |   16 +-
 libmultipath/regex.c             | 4032 --------------------------------------
 libmultipath/regex.h             |  252 ---
 libmultipath/uxsock.c            |   28 +-
 multipath/multipath.conf.5       |    7 +-
 multipathd/Makefile              |   26 +-
 multipathd/main.c                |  109 +-
 multipathd/multipathd.8          |   34 +-
 multipathd/multipathd.service    |   16 -
 multipathd/multipathd.service.in |   18 +
 multipathd/multipathd.socket     |    5 +
 multipathd/uxclnt.c              |    4 +-
 multipathd/uxlsnr.c              |    4 +-
 16 files changed, 228 insertions(+), 4354 deletions(-)
 delete mode 100644 libmultipath/regex.c
 delete mode 100644 libmultipath/regex.h
 delete mode 100644 multipathd/multipathd.service
 create mode 100644 multipathd/multipathd.service.in
 create mode 100644 multipathd/multipathd.socket
Signature · 1 line
1.8.1.4