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

-- 
2.25.1


--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to