All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Bunker <brian@purestorage.com>
To: Martin Wilck <mwilck@suse.com>
Cc: Benjamin Marzinski <bmarzins@redhat.com>,
	Christophe Varoqui <christophe.varoqui@opensvc.com>,
	dm-devel@lists.linux.dev
Subject: Re: [PATCH v3 0/1] multipathd: check re-added paths' WWIDs against sysfs
Date: Wed, 11 Nov 2026 15:05:34 -0800	[thread overview]
Message-ID: <20261111230535.12947-1-brian@purestorage.com> (raw)
In-Reply-To: <cad66f75079fe0a89150e304d753527f140c67d9.camel@suse.com>

On Wed, 2026-11-11, Martin Wilck wrote:
> Right, but "newer" doesn't mean "more accurate". You write below that
> there is no indication that anything actually changed, so time
> shouldn't be a factor. If a wrong VPD reply is possible once, it can
> also occur multiple times. If it's just an unlikely failure, a purely
> stochastical thing, it would help to simply repeat the same request;
> if the probability for error is 1e-4, the probability for two errors
> in succession would be 1e-8. However we don't know if it's
> stochastical.

Fair, "newer" was the wrong word, and we can't show what caused the bad
reply.

I think the patch stands without that, though. recheck_wwid already
exists to stop a path whose WWID has changed from staying in, or going
into, the wrong map: multipathd checks the WWID with the device when a
failed path comes back, and when a path is added with "multipathd add
path". The re-add in uev_update_path() is a third place where a path is
put into a map because of a WWID change, and the only one of the three
that acts purely on the udev value. v4 applies the same check there,
under the same option.

It also costs little: nothing unless recheck_wwid is set, and with it
set, one INQUIRY on a re-add that only happens after udev reports a
changed WWID. If it ever refuses an add, it logs the udev WWID and the
one the device returned. We'll run with recheck_wwid enabled on our test
initiators and watch for that message. If it shows up more than once,
we'll come back with those logs, which would be better evidence than the
one run we have, where we didn't know at the time that our test tool was
flooding udev.

> I'd go one step further and say that it tells us nothing at all.

Agreed.

> However from the time line you provided, it makes sense that your
> patch would have been effective in the error case.

Thanks.

Brian

  reply	other threads:[~2026-11-11 23:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-09 18:55 [PATCH v3 0/1] multipathd: check re-added paths' WWIDs against sysfs Brian Bunker
2026-11-09 18:55 ` [PATCH v3 1/1] " Brian Bunker
2026-11-09 22:24   ` Benjamin Marzinski
2026-11-10 22:21 ` [PATCH v3 0/1] " Martin Wilck
2026-11-11 17:42   ` Brian Bunker
2026-11-11 19:35     ` Martin Wilck
2026-11-11 23:05       ` Brian Bunker [this message]
2026-11-12 19:00         ` udev / multipath-tools: WWID determination with SG_IO vs. sysfs Martin Wilck
2026-11-12 19:58           ` Benjamin Marzinski
2026-11-12 20:47             ` 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=20261111230535.12947-1-brian@purestorage.com \
    --to=brian@purestorage.com \
    --cc=bmarzins@redhat.com \
    --cc=christophe.varoqui@opensvc.com \
    --cc=dm-devel@lists.linux.dev \
    --cc=mwilck@suse.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.