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

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