All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/12] multipath fixes to tableless device handling
@ 2024-11-12 15:02 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
                   ` (12 more replies)
  0 siblings, 13 replies; 15+ messages in thread
From: Martin Wilck @ 2024-11-12 15:02 UTC (permalink / raw)
  To: Christophe Varoqui, Benjamin Marzinski; +Cc: dm-devel, Martin Wilck

This patch set is a re-spin of Ben's previous series by the same name [1].

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-11-13  0:12 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH v2 00/12] multipath fixes to tableless device handling Benjamin Marzinski

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.