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

mwilck at suse.com mwilck at suse.com
Fri Apr 3 11:19:12 UTC 2020


From: Martin Wilck <mwilck at suse.com>

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(-)

-- 
2.25.1





More information about the dm-devel mailing list