Martin, Ben,

Thanks, both. Two points before I do a v5.

On Mon, 2026-11-16, Benjamin Marzinski wrote:
> If this code was only run when we got a wwid before and then it
> changed, then requiring a matching WWID from the device seems much
> more reasonable.

Agreed, and that changes my earlier position. With PATH_ADD_REINIT
passed only from the changed-WWID branch, the check only runs when the
path already had a WWID and udev now reports a different one. In that
case, if the device doesn't confirm the new WWID, including when SG_IO
fails, I'd keep the path out and let the checker retrigger, as for a
mismatch.

check_path_wwid_change() returns false both for a match and for an SG_IO
failure, so v5 would need to tell those apart.

> we never reset pp->retriggers once we have a reasonable WWID

On Mon, 2026-11-16, Martin Wilck wrote:
> I don't see an issue with resetting retrigger_tries once the issues
> with path's WWID are sorted out, in both cases.

I'm fine with resetting pp->retriggers once a path has a confirmed WWID,
so that "no WWID from udev" and "WWID didn't match" don't share one
budget for the life of the path. Would you rather have that in this
patch or as a separate one? I lean towards a separate patch, since it
also changes the existing missing-udev handling.

If you're both fine with this, I'll send v5.

Brian

Reply via email to