multipath fixes to tableless device handling
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest12 patches 2 repliesIn review
Patches in v2 No applies recorded yet
Reviews trailers per patch
5 of 12 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Martin Wilck | Benjamin Marzinski |
|---|---|---|
| Series | R-b | |
| 1/12 | ||
| 2/12 | R-b | |
| 3/12 | R-b | |
| 4/12 | R-b | |
| 5/12 | R-b | |
| 6/12 | R-b | |
| 7/12 | ||
| 8/12 | ||
| 9/12 | ||
| 10/12 | ||
| 11/12 | ||
| 12/12 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/12] multipath fixes to tableless device handling
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/[email protected]/
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(-)
Signature · 1 line
2.47.0