All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Marzinski <bmarzins@redhat.com>
To: Martin Wilck <martin.wilck@suse.com>
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>,
	dm-devel@lists.linux.dev, Martin Wilck <mwilck@suse.com>
Subject: Re: [PATCH v2 00/12] multipath fixes to tableless device handling
Date: Tue, 12 Nov 2024 19:12:42 -0500	[thread overview]
Message-ID: <ZzPu-rJP_10cJgnc@redhat.com> (raw)
In-Reply-To: <20241112150215.90182-1-mwilck@suse.com>

On Tue, Nov 12, 2024 at 04:02:03PM +0100, Martin Wilck wrote:
> This patch set is a re-spin of Ben's previous series by the same name [1].

For the set:
Reviewed-by: Benjamin Marzinski <bmarzins@redhat.com>
 
> Patch 1 is my take on fixing the regression with map detection
> in multipath-tools 0.10.0. The basic idea is to never fail in dm_get_maps(),
> even if libmp_mapinfo() fails on one or more maps. The behavior wrt "empty"
> maps, or maps without table, is the same as in 0.9.9 and older, these
> maps are simply ignored by multipathd.
> 
> Patch 2 improves the semantics for decting maps with multiple targets.
> 
> Patch 3-6 are from Ben's original series, with unit test fixes added in
> patch 3.
> 
> Patch 7 and 8 improve the semantics of MAPINFO_CHECK_UUID for partitions.
> 
> Patch 9-11 are minor logging improvements.
> 
> Patch 12 is an independent bug fix I discovered recently.
> 
> As usual, comments and reviews welcome.
> 
> Martin
> 
> [1] https://lore.kernel.org/dm-devel/20241031183301.391416-1-bmarzins@redhat.com/
> 
> Benjamin Marzinski (4):
>   libmultipath: check DM UUID earlier in libmp_mapinfo__
>   libmultipath: use MAPINFO_CHECK_UUID in dm_get_multipath
>   multipathd: print an error when failing to connect to multipathd
>   multipathd.service: restart multipathd on failure
> 
> Martin Wilck (8):
>   libmultipath: dm_get_maps(): don't bail out for single-map failures
>   libmultipath: libmp_mapinfo(): return DMP_NO_MATCH for multi-target
>     maps
>   libmultipath: make MAPINFO_CHECK_UUID work with partitions
>   libmultipath: check map UUID in do_foreach_partmaps
>   libmultipath: increase log level for removing partitions
>   libmultipath: reduce log level of libmp_mapinfo() messages
>   libmultipath: don't log boring state messages at level 3
>   libmultipath: don't set dev_loss_tmo to 0 for NO_PATH_RETRY_FAIL
> 
>  libmultipath/devmapper.c         | 70 ++++++++++++++++----------------
>  libmultipath/devmapper.h         |  8 +++-
>  libmultipath/discovery.c         | 13 ++++--
>  libmultipath/structs.h           |  1 +
>  multipathd/multipathd.service.in |  3 ++
>  multipathd/uxclnt.c              |  4 +-
>  tests/mapinfo.c                  | 17 +++++---
>  7 files changed, 71 insertions(+), 45 deletions(-)
> 
> -- 
> 2.47.0


      parent reply	other threads:[~2024-11-13  0:12 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-12 15:02 [PATCH v2 00/12] multipath fixes to tableless device handling Martin Wilck
2024-11-12 15:02 ` [PATCH v2 01/12] libmultipath: dm_get_maps(): don't bail out for single-map failures Martin Wilck
2024-11-12 15:02 ` [PATCH v2 02/12] libmultipath: libmp_mapinfo(): return DMP_NO_MATCH for multi-target maps Martin Wilck
2024-11-13  0:11   ` Benjamin Marzinski
2024-11-12 15:02 ` [PATCH v2 03/12] libmultipath: check DM UUID earlier in libmp_mapinfo__ Martin Wilck
2024-11-12 15:02 ` [PATCH v2 04/12] libmultipath: use MAPINFO_CHECK_UUID in dm_get_multipath Martin Wilck
2024-11-12 15:02 ` [PATCH v2 05/12] multipathd: print an error when failing to connect to multipathd Martin Wilck
2024-11-12 15:02 ` [PATCH v2 06/12] multipathd.service: restart multipathd on failure Martin Wilck
2024-11-12 15:02 ` [PATCH v2 07/12] libmultipath: make MAPINFO_CHECK_UUID work with partitions Martin Wilck
2024-11-12 15:02 ` [PATCH v2 08/12] libmultipath: check map UUID in do_foreach_partmaps Martin Wilck
2024-11-12 15:02 ` [PATCH v2 09/12] libmultipath: increase log level for removing partitions Martin Wilck
2024-11-12 15:02 ` [PATCH v2 10/12] libmultipath: reduce log level of libmp_mapinfo() messages Martin Wilck
2024-11-12 15:02 ` [PATCH v2 11/12] libmultipath: don't log boring state messages at level 3 Martin Wilck
2024-11-12 15:02 ` [PATCH v2 12/12] libmultipath: don't set dev_loss_tmo to 0 for NO_PATH_RETRY_FAIL Martin Wilck
2024-11-13  0:12 ` 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=ZzPu-rJP_10cJgnc@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.