Skip to content

multipath udev rules changes for dm rules V3

Martin Wilck dm-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 of 12 patches 2 repliesIn review
  2. v211 patches 8 repliesSuperseded
  3. v111 patches 16 repliesSuperseded

Changes in v3 from the cover letter

* 08/11 replaced another UDEV_RULES_VSN test (Benjamin Marzinski)

1 of 12 patches is in this archive. The cover letter announces 12.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
8/1211-dm-mpath.rules: replace DM_NOSCAN by .DM_NOSCANmultipath/11-dm-mpath.rules.in+6 -31 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchBenjamin Marzinski
8/12R-b

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

Read the v3 thread

Cover letter [PATCH v3 00/12] multipath udev rules changes for dm rules V3

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(-)
Signature · 1 line
2.44.0