From: Benjamin Marzinski <bmarzins@redhat.com>
To: Martin Wilck <martin.wilck@suse.com>
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>,
Martin Wilck <mwilck@suse.com>,
dm-devel@lists.linux.dev
Subject: Re: [PATCH 0/3] multipath-tools: fixes for systemd watchdog
Date: Fri, 15 Nov 2024 19:05:18 -0500 [thread overview]
Message-ID: <Zzfhvmj-gFrRVH3G@redhat.com> (raw)
In-Reply-To: <20241114144224.248606-1-mwilck@suse.com>
On Thu, Nov 14, 2024 at 03:42:21PM +0100, Martin Wilck wrote:
> A set of small fixes to make multipathd better adhere to the conventions
I'm a little confused by this. Your patches make sense, but why do we
bother limiting max_checkint to the Watchdog timer? We send a notify
every loop in checkerloop() regardless. Changing max_checkint won't make
us any less likely to hang for too long if we're using a synchronous
chacker, and I can't figure out why the Watchdog time should have
anything to do with how frequently we check working paths.
Your code changes looks fine, so assuming there's a use for this code:
Reviewed-by: Benjamin Marzinski <bmarzins@redhat.com>
But possibly we should be removing set_max_checkint_from_watchdog(), or
replacing max_checkint with something like checker_timeout, but only for
synchronous checkers. Or possibly I'm just missing something here.
-Ben
> for systemd's WatchdogSec= setting.
>
> Martin Wilck (3):
> libmultipath: don't print error message if WATCHDOG_USEC is 0
> libmultipath: honor WATCHDOG_PID setting
> libmultipath: cut watchdog interval in half
>
> libmultipath/config.c | 21 ++++++++++++++++++---
> libmultipath/config.h | 2 ++
> libmultipath/libmultipath.version | 1 +
> 3 files changed, 21 insertions(+), 3 deletions(-)
>
> --
> 2.47.0
prev parent reply other threads:[~2024-11-16 0:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-14 14:42 [PATCH 0/3] multipath-tools: fixes for systemd watchdog Martin Wilck
2024-11-14 14:42 ` [PATCH 1/3] libmultipath: don't print error message if WATCHDOG_USEC is 0 Martin Wilck
2024-11-14 14:42 ` [PATCH 2/3] libmultipath: honor WATCHDOG_PID setting Martin Wilck
2024-11-14 14:42 ` [PATCH 3/3] libmultipath: cut watchdog interval in half Martin Wilck
2024-11-16 0:05 ` Benjamin Marzinski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zzfhvmj-gFrRVH3G@redhat.com \
--to=bmarzins@redhat.com \
--cc=christophe.varoqui@opensvc.com \
--cc=dm-devel@lists.linux.dev \
--cc=martin.wilck@suse.com \
--cc=mwilck@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.