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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Martin Wilck <mwilck@xxxxxxxx>

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
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux