Blame SOURCES/0014-multipathd-remove-wwid_changed-path-attribute.patch

a1c519
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
a1c519
From: Martin Wilck <mwilck@suse.com>
a1c519
Date: Mon, 18 Mar 2019 13:12:34 +0100
a1c519
Subject: [PATCH] multipathd: remove "wwid_changed" path attribute
a1c519
a1c519
This is now not needed any more.
a1c519
a1c519
Signed-off-by: Martin Wilck <mwilck@suse.com>
a1c519
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
a1c519
---
a1c519
 libmultipath/structs.h | 1 -
a1c519
 multipathd/main.c      | 6 ------
a1c519
 2 files changed, 7 deletions(-)
a1c519
a1c519
diff --git a/libmultipath/structs.h b/libmultipath/structs.h
a1c519
index b794b0d..7879d76 100644
a1c519
--- a/libmultipath/structs.h
a1c519
+++ b/libmultipath/structs.h
a1c519
@@ -280,7 +280,6 @@ struct path {
a1c519
 	int fd;
a1c519
 	int initialized;
a1c519
 	int retriggers;
a1c519
-	int wwid_changed;
a1c519
 	unsigned int path_failures;
a1c519
 	time_t dis_reinstate_time;
a1c519
 	int disable_reinstate;
a1c519
diff --git a/multipathd/main.c b/multipathd/main.c
a1c519
index b3571d9..e4f95a0 100644
a1c519
--- a/multipathd/main.c
a1c519
+++ b/multipathd/main.c
a1c519
@@ -2001,12 +2001,6 @@ check_path (struct vectors * vecs, struct path * pp, int ticks)
a1c519
 	if (newstate == PATH_REMOVED)
a1c519
 		newstate = PATH_DOWN;
a1c519
 
a1c519
-	if (pp->wwid_changed) {
a1c519
-		condlog(2, "%s: path wwid has changed. Refusing to use",
a1c519
-			pp->dev);
a1c519
-		newstate = PATH_DOWN;
a1c519
-	}
a1c519
-
a1c519
 	if (newstate == PATH_WILD || newstate == PATH_UNCHECKED) {
a1c519
 		condlog(2, "%s: unusable path (%s) - checker failed",
a1c519
 			pp->dev, checker_state_name(newstate));
a1c519
-- 
a1c519
2.17.2
a1c519