Linux Device Mapper development
 help / color / mirror / Atom feed
From: Martin Wilck <mwilck@suse.com>
To: Christophe Varoqui <christophe.varoqui@opensvc.com>,
	Benjamin Marzinski <bmarzins@redhat.com>
Cc: dm-devel@redhat.com, Martin Wilck <mwilck@suse.com>
Subject: [PATCH 2/3] multipathd: remove "wwid_changed" path attribute
Date: Mon, 18 Mar 2019 13:12:34 +0100	[thread overview]
Message-ID: <20190318121235.8942-3-mwilck@suse.com> (raw)
In-Reply-To: <20190318121235.8942-1-mwilck@suse.com>

This is now not needed any more.

Signed-off-by: Martin Wilck <mwilck@suse.com>
---
 libmultipath/structs.h | 1 -
 multipathd/main.c      | 6 ------
 2 files changed, 7 deletions(-)

diff --git a/libmultipath/structs.h b/libmultipath/structs.h
index b794b0dc..7879d763 100644
--- a/libmultipath/structs.h
+++ b/libmultipath/structs.h
@@ -280,7 +280,6 @@ struct path {
 	int fd;
 	int initialized;
 	int retriggers;
-	int wwid_changed;
 	unsigned int path_failures;
 	time_t dis_reinstate_time;
 	int disable_reinstate;
diff --git a/multipathd/main.c b/multipathd/main.c
index bd26209d..7119894c 100644
--- a/multipathd/main.c
+++ b/multipathd/main.c
@@ -2016,12 +2016,6 @@ check_path (struct vectors * vecs, struct path * pp, int ticks)
 	if (newstate == PATH_REMOVED)
 		newstate = PATH_DOWN;
 
-	if (pp->wwid_changed) {
-		condlog(2, "%s: path wwid has changed. Refusing to use",
-			pp->dev);
-		newstate = PATH_DOWN;
-	}
-
 	if (newstate == PATH_WILD || newstate == PATH_UNCHECKED) {
 		condlog(2, "%s: unusable path (%s) - checker failed",
 			pp->dev, checker_state_name(newstate));
-- 
2.21.0

  parent reply	other threads:[~2019-03-18 12:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-18 12:12 [PATCH 0/3] New approach at handling changed WWIDs Martin Wilck
2019-03-18 12:12 ` [PATCH 1/3] multipathd: handle changed wwids by removal and addition Martin Wilck
2019-03-18 12:12 ` Martin Wilck [this message]
2019-03-18 12:12 ` [PATCH 3/3] multipathd: ignore "disable_changed_wwids" Martin Wilck
2019-03-19 17:11 ` [PATCH 0/3] New approach at handling changed WWIDs Benjamin Marzinski
2019-03-19 18:44   ` Martin Wilck
2019-03-20  8:37     ` Martin Wilck
2019-03-21 22:31       ` Benjamin Marzinski
2019-03-22 11:28         ` Martin Wilck
2019-03-22 14:13           ` Benjamin Marzinski
2019-03-25 22:27     ` Benjamin Marzinski
2019-03-26  8:21       ` Martin Wilck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190318121235.8942-3-mwilck@suse.com \
    --to=mwilck@suse.com \
    --cc=bmarzins@redhat.com \
    --cc=christophe.varoqui@opensvc.com \
    --cc=dm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox