All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/42] multipath-tools series part III: duplicate alias
@ 2020-08-12 11:34 mwilck
  2020-08-12 11:34 ` [PATCH v2 40/42] libmultipath: free_multipath(): remove mpp references mwilck
  2020-08-12 11:34 ` [PATCH v2 41/42] libmultipath: refuse reloading an existing map with different WWID mwilck
  0 siblings, 2 replies; 8+ messages in thread
From: mwilck @ 2020-08-12 11:34 UTC (permalink / raw)
  To: Christophe Varoqui, Benjamin Marzinski; +Cc: dm-devel, Martin Wilck

From: Martin Wilck <mwilck@suse.com>

Hi Christophe, hi Ben,

This is part III of a larger patch series for multpath-tools I've been preparing.
It contains fixes for a customer issue where the same alias was set for
several maps with different WWIDs in the WWIDs file.

Note that this does *not* break the scenario Ben described in his response to
v1 of the part of the series. Details in the commit message of patch 41/42.

This part based on the previously submitted part II (which is completely
unchanged from the v1 submission and not re-posted).

The full series will also be available here:
https://github.com/mwilck/multipath-tools/tree/ups/submit-2008
This part is tagged "submit-200812-3".

Changes v1 -> v2, as suggested by Ben Marzinski:

 * 40/42 "libmultipath: refuse creating map with duplicate alias"
    - dropped, as this breaks valid scenarios
 * 40/42 "libmultipath: free_multipath(): remove mpp references"
    - new patch added, required to avoid segfaults; inserted here to preserve
      numbering
 * 41/42 "libmultipath: refuse reloading an existing map with different WWID"
    - unchanged, but not reviewed yet. Commit message improved.

NOTE: part VI and VII of the the series contain patches related to the topic
of this part, improving the handling of inconsistent alias settings further:

  80/80 "libmultipath: select_action(): don't drop map if alias clashes"
  84/84 "libmultipath: add consistency check for alias settings"

Regards,
Martin

Martin Wilck (3):
  libmultipath: free_multipath(): remove mpp references
  libmultipath: refuse reloading an existing map with different WWID
  libmultipath: dm_addmap(): refuse creating map with empty WWID

 libmultipath/configure.c | 19 +++++++++++++++----
 libmultipath/devmapper.c | 26 +++++++++++++++-----------
 libmultipath/structs.c   | 15 +++++++++++++++
 3 files changed, 45 insertions(+), 15 deletions(-)

-- 
2.28.0

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

end of thread, other threads:[~2020-08-14  7:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-12 11:34 [PATCH v2 00/42] multipath-tools series part III: duplicate alias mwilck
2020-08-12 11:34 ` [PATCH v2 40/42] libmultipath: free_multipath(): remove mpp references mwilck
2020-08-13 21:32   ` Benjamin Marzinski
2020-08-13 21:40   ` Benjamin Marzinski
2020-08-12 11:34 ` [PATCH v2 41/42] libmultipath: refuse reloading an existing map with different WWID mwilck
2020-08-13 22:23   ` Benjamin Marzinski
2020-08-14  7:48     ` Martin Wilck
2020-08-14  7:51       ` Martin Wilck

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.