[dm-devel] [PATCH v2 00/42] multipath-tools series part III: duplicate alias
mwilck at suse.com
mwilck at suse.com
Wed Aug 12 11:34:03 UTC 2020
From: Martin Wilck <mwilck at 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
More information about the dm-devel
mailing list