mbox series

[v3,0/1] multipath-tools: fixes for systemd watchdog

Message ID 20241119161218.708117-1-mwilck@suse.com (mailing list archive)
Headers show
Series multipath-tools: fixes for systemd watchdog | expand

Message

Martin Wilck Nov. 19, 2024, 4:12 p.m. UTC
After Ben Marzinski's feedback to v1 of this series, reworked the
watchdog logic completely, and moved it in to multipathd.
The watchdog interval is now independent of the checker interval.
systemd's watchdog enablement logic is correctly followed, and
better fallbacks are used in case of unreasonable settings in the
unit file.

Changes v2->v3 (suggested by Ben Marzinski)
- Use time stamp in watchdog_tick
- Use unsigned long long in get_watchdog_interval

Changes v1->v2 (suggested by Ben Marzinski)
- Complete rewrite.

Martin Wilck (1):
  multipathd: move systemd watchdog handling into daemon

 libmultipath/config.c | 25 ----------------
 libmultipath/config.h |  1 -
 multipathd/main.c     | 70 ++++++++++++++++++++++++++++++++++---------
 3 files changed, 56 insertions(+), 40 deletions(-)