Skip to content

multipath-tools: cli_add_map cleanup and misc fixes

Benjamin Marzinski dm-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7multipathd: fix flush check in flush_map()multipathd/main.c+1 -11 reply
2/7libmultipath: check for not PATH_UP in detect_alualibmultipath/discovery.c+1 -11 reply
3/7multipathd: refresh multipath before calling set_no_path_retry()multipathd/cli_handlers.c+12 -08 replies
4/7libmultipath: add name and minor outputs for dm_map_present_by_uuid()libmultipath/devmapper.c libmultipath/devmapper.h libmultipath/libmultipath.version +1 more+13 -43 replies
5/7multipath-tools: Makefile.inc: compile with -fexceptionsMakefile.inc+2 -11 reply
6/7multipathd: free alias if cli_add_map() is cancelledmultipathd/cli_handlers.c+2 -21 reply
7/7multipathd: make cli_add_map() handle adding maps by WWID correctlylibmultipath/libmultipath.version multipathd/cli_handlers.c+25 -371 reply

Reviews trailers per patch

4 of 7 patches have a Reviewed-by or Acked-by.

PatchMartin Wilck
1/7R-b
2/7R-b
3/7
4/7
5/7R-b
6/7R-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] multipath-tools: cli_add_map cleanup and misc fixes

This patchset is half a grab bag of small fixes and half cleaning up cli_add_map() and making it accept adding a multipath device by WWID instead of just by alias.

Benjamin Marzinski (7):
multipathd: fix flush check in flush_map()
libmultipath: check for not PATH_UP in detect_alua
multipathd: refresh multipath before calling set_no_path_retry()
libmultipath: add name and minor outputs for dm_map_present_by_uuid()
multipath-tools: Makefile.inc: compile with -fexceptions
multipathd: free alias if cli_add_map() is cancelled
multipathd: make cli_add_map() handle adding maps by WWID correctly

 Makefile.inc                      |  3 +-
 libmultipath/devmapper.c          | 11 ++++-
 libmultipath/devmapper.h          |  2 +-
 libmultipath/discovery.c          |  2 +-
 libmultipath/libmultipath.version |  7 ++-
 libmultipath/valid.c              |  2 +-
 multipathd/cli_handlers.c         | 71 ++++++++++++++-----------------
 multipathd/main.c                 |  2 +-
 8 files changed, 55 insertions(+), 45 deletions(-)
Signature · 1 line
2.45.0