Blame SOURCES/0071-multipathd-don-t-trigger-uevent-for-partitions-on-ww.patch

b46d12
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
b46d12
From: Benjamin Marzinski <bmarzins@redhat.com>
b46d12
Date: Thu, 25 Mar 2021 19:52:46 -0500
b46d12
Subject: [PATCH] multipathd: don't trigger uevent for partitions on wwid
b46d12
 change
b46d12
b46d12
If the wwid changed, the device is no longer the same, so sending add
b46d12
events to the devices partitions doesn't make any sense.
b46d12
b46d12
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
b46d12
Reviewed-by: Martin Wilck <mwilck@suse.com>
b46d12
---
b46d12
 multipathd/main.c | 1 -
b46d12
 1 file changed, 1 deletion(-)
b46d12
b46d12
diff --git a/multipathd/main.c b/multipathd/main.c
b46d12
index 4598d354..e6c19ab2 100644
b46d12
--- a/multipathd/main.c
b46d12
+++ b/multipathd/main.c
b46d12
@@ -846,7 +846,6 @@ handle_path_wwid_change(struct path *pp, struct vectors *vecs)
b46d12
 	}
b46d12
 	rescan_path(udd);
b46d12
 	sysfs_attr_set_value(udd, "uevent", "add", strlen("add"));
b46d12
-	trigger_partitions_udev_change(udd, "add", strlen("add"));
b46d12
 	udev_device_unref(udd);
b46d12
 }
b46d12
 
b46d12
-- 
b46d12
2.17.2
b46d12