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