summaryrefslogtreecommitdiffstats
path: root/udev-md-raid-safe-timeouts.rules
diff options
context:
space:
mode:
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2022-01-14 16:44:33 +0100
committerJes Sorensen <jsorensen@fb.com>2022-03-31 17:41:09 +0200
commitcf9a109209aad285372b67306d54118af6fc522b (patch)
treeac5cb8b5fe29938aab0bdc05a7f9115bb4a399b7 /udev-md-raid-safe-timeouts.rules
parentGrow_reshape: Add r0 grow size error message and update man (diff)
downloadmdadm-cf9a109209aad285372b67306d54118af6fc522b.tar.xz
mdadm-cf9a109209aad285372b67306d54118af6fc522b.zip
udev: adapt rules to systemd v247
New events have been added in kernel 4.14 ("bind" and "unbind"). Systemd maintainer suggests to modify "add|change" branches. This patches implements their suggestions. There is no issue yet because new event types are not used in md. Please see systemd announcement for details[1]. [1] https://lists.freedesktop.org/archives/systemd-devel/2020-November/045646.html Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'udev-md-raid-safe-timeouts.rules')
-rw-r--r--udev-md-raid-safe-timeouts.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev-md-raid-safe-timeouts.rules b/udev-md-raid-safe-timeouts.rules
index 12bdcaa8..2e185cee 100644
--- a/udev-md-raid-safe-timeouts.rules
+++ b/udev-md-raid-safe-timeouts.rules
@@ -50,7 +50,7 @@ ENV{DEVTYPE}!="partition", GOTO="md_timeouts_end"
IMPORT{program}="/sbin/mdadm --examine --export $devnode"
-ACTION=="add|change", \
+ACTION!="remove", \
ENV{ID_FS_TYPE}=="linux_raid_member", \
ENV{MD_LEVEL}=="raid[1-9]*", \
TEST=="/sys/block/$parent/device/timeout", \