Skip to content

multipath: fix multipathd renaming issue

Benjamin Marzinski dm-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v14 patches 6 repliesSuperseded

Changes in v2 from the cover letter

0004: If the rename is impossible, multipath now checks for other
actions, instead of always returning ACT_IMPOSSIBLE

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4libmultipath: use select_reload_action in select_actionlibmultipath/configure.c+2 -60 replies
2/4libmultipath: select resize action even if reload is forcedlibmultipath/configure.c+6 -50 replies
3/4libmultipath: cleanup ACT_CREATE code in select_actionlibmultipath/configure.c+17 -210 replies
4/4libmultipath: keep renames from stopping other multipath actionslibmultipath/configure.c libmultipath/configure.h+30 -360 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMartin Wilck
SeriesR-b
1/4
2/4
3/4
4/4

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

Read the v2 thread

Cover letter [dm-devel] [PATCH v2 0/4] multipath: fix multipathd renaming issue

If a multipath device needs to be renamed and reloaded when multipathd starts, it will only get reloaded. This can happen if the multipath configuration is different between the initramfs and regular filesystem. The only thing that can happen along with a rename is a force reload.

This patchset makes libmultipath also do all the other actions that are compatible with a rename.

changes in v2 (as suggested by Martin Wilck)
0004: If the rename is impossible, multipath now checks for other
actions, instead of always returning ACT_IMPOSSIBLE

Benjamin Marzinski (4):
libmultipath: use select_reload_action in select_action
libmultipath: select resize action even if reload is forced
libmultipath: cleanup ACT_CREATE code in select_action
libmultipath: keep renames from stopping other multipath actions

 libmultipath/configure.c | 107 +++++++++++++++++----------------------
 libmultipath/configure.h |   4 +-
 2 files changed, 49 insertions(+), 62 deletions(-)
Signature · 6 lines
2.17.2

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel