mbox series

[v3,00/12] multipath udev rules changes for dm rules V3

Message ID 20240409140813.26774-1-mwilck@suse.com (mailing list archive)
Headers show
Series multipath udev rules changes for dm rules V3 | expand

Message

Martin Wilck April 9, 2024, 2:08 p.m. UTC
This patch set adapts the multipath rules to the pending changes
for device mapper rules that update DM_UDEV_RULES_VSN to 3, and
applies some additional clean-ups to the rules files.

Changes v2 -> v3:
* 08/11 replaced another UDEV_RULES_VSN test (Benjamin Marzinski)

(not resending the patches that have already been acked by Ben).

Changes v1 -> v2:

All changes suggested by Benjamin Marzinski except the last one.

* multiple patches: check DM_UDEV_RULES_VSN agains "1|2" rather than "3".
* 01/11: this patch was wrong as discussed, dropped code changes and
  added some comments instead, lest I make the same mistake again.
* 02/11: fix label name in comment to match an existing label
* 04/11: added missing "\" at end of line

Comments welcome.

Martin Wilck (12):
  11-dm-mpath.rules: explain logic for device becoming ready while
    suspended
  11-dm-mpath.rules: don't import DM_NOSCAN from udev db
  11-dm-mpath.rules: don't import ID_FS_VERSION from udev db
  11-dm-mpath.rules: adapt MPATH_DEVICE_READY=0 logic to 10-dm.rules
    update
  11-dm-mpath.rules: adapt coldplug event handling ro 10-dm.rules update
  11-dm-mpath.rules: don't import properties with new 13-dm-disk.rules
  11-dm-mpath.rules: replace DM_SUSPENDED by .DM_SUSPENDED
  11-dm-mpath.rules: replace DM_NOSCAN by .DM_NOSCAN
  11-dm-mpath.rules: simplify PATH_FAILED case
  11-dm-mpath.rules: make label names more intuitive
  kpartx.rules: ignore DM_SUSPENDED
  multipath-tools tests: fix CI failures on arm/v7 with glibc 2.37

 kpartx/kpartx.rules            |  2 +-
 multipath/11-dm-mpath.rules.in | 86 ++++++++++++++++++++--------------
 tests/directio.c               | 22 ++++-----
 tests/vpd.c                    | 35 +++++++-------
 tests/wrap64.h                 | 23 ++++++++-
 5 files changed, 103 insertions(+), 65 deletions(-)

Comments

Martin Wilck April 9, 2024, 2:14 p.m. UTC | #1
On Tue, 2024-04-09 at 16:08 +0200, Martin Wilck wrote:
> This patch set adapts the multipath rules to the pending changes
> for device mapper rules that update DM_UDEV_RULES_VSN to 3, and
> applies some additional clean-ups to the rules files.
> 
> Changes v2 -> v3:
> * 08/11 replaced another UDEV_RULES_VSN test (Benjamin Marzinski)
> 
> (not resending the patches that have already been acked by Ben)

There is no patch 12 in this series. Sorry for the mistake in the
subject line.

Martin