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 1/2] multipathd: fix irritating "minor number mismatch" message
Date: Tue, 13 Nov 2018 22:30:51 +0100 [thread overview]
Message-ID: <20181113213052.2009-2-mwilck@suse.com> (raw)
In-Reply-To: <20181113213052.2009-1-mwilck@suse.com>
This is really an alias mismatch, not a minor number mismatch.
Signed-off-by: Martin Wilck <mwilck@suse.com>
---
multipathd/main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/multipathd/main.c b/multipathd/main.c
index 6289718d..0dddddb3 100644
--- a/multipathd/main.c
+++ b/multipathd/main.c
@@ -778,8 +778,8 @@ uev_remove_map (struct uevent * uev, struct vectors * vecs)
goto out;
}
if (strcmp(mpp->alias, alias)) {
- condlog(2, "%s: minor number mismatch (map %d, event %d)",
- mpp->alias, mpp->dmi->minor, minor);
+ condlog(2, "%s: map alias mismatch: have \"%s\", got \"%s\")",
+ uev->kernel, mpp->alias, alias);
goto out;
}
--
2.19.1
next prev parent reply other threads:[~2018-11-13 21:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-13 21:30 [PATCH 0/2] two multipathd fixes Martin Wilck
2018-11-13 21:30 ` Martin Wilck [this message]
2018-11-13 21:30 ` [PATCH 2/2] multipathd: reset delay_wait_checks counter on failure Martin Wilck
2018-11-14 7:39 ` [PATCH 0/2] two multipathd fixes Christophe Varoqui
2018-11-14 18:45 ` multipath-tools: Bump version to 0.7.9 Xose Vazquez Perez
2018-11-14 18:55 ` Christophe Varoqui
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=20181113213052.2009-2-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