dcavalca / rpms / mdadm

Forked from rpms/mdadm 3 years ago
Clone

Blame SOURCES/mdadm-3.4-udev-race.patch

7bdf8f
--- mdadm-3.4/udev-md-raid-arrays.rules-orig	2016-09-13 16:17:06.275757220 -0400
7bdf8f
+++ mdadm-3.4/udev-md-raid-arrays.rules	2016-09-14 16:30:33.597189689 -0400
7bdf8f
@@ -5,6 +5,7 @@
7bdf8f
 # handle md arrays
7bdf8f
 ACTION!="add|change", GOTO="md_end"
7bdf8f
 KERNEL!="md*", GOTO="md_end"
7bdf8f
+ATTR{md/metadata_version}!="external:[A-Za-z]*", ATTR{size}=="0", ENV{SYSTEMD_READY}="0", GOTO="md_end"
7bdf8f
 
7bdf8f
 # partitions have no md/{array_state,metadata_version}, but should not
7bdf8f
 # for that reason be ignored.