Skip to content

multipath-tools: fixes for kpartx.rules and skip_kpartx

[email protected] dm-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 2 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kpartx.rules: honor DM_UDEV_DISABLE_OTHER_RULES_FLAGkpartx/kpartx.rules+1 -01 reply
2/2kpartx.rules: check for skip_kpartx on synthetic ueventskpartx/kpartx.rules+5 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBenjamin Marzinski
1/2R-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] multipath-tools: fixes for kpartx.rules and skip_kpartx

From: Martin Wilck <[email protected]>

Hi Christophe, Ben,

The "skip_kpartx" option serves to prevent creation of partitions on top of multipath devices where that's undesired, e.g. on VM hosts which are supposed to provide the unpartitioned dm devices to guests. This is broken with our current udev rules, because partition creation is only suppressed on "primary" uevents, and not on "sporadic" ones.

This series fixes the issue. It replaces my previous patch "kpartx.rules:
check for skip_kpartx if DM_ACTIVATION is unset", which turned out to be insufficient.

Regards,
Martin

Martin Wilck (2):
kpartx.rules: honor DM_UDEV_DISABLE_OTHER_RULES_FLAG kpartx.rules: check for skip_kpartx on synthetic uevents

 kpartx/kpartx.rules | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
Signature · 1 line
2.25.1