All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] fix issue of multipathd not tracking device
@ 2025-03-24 20:55 Benjamin Marzinski
  2025-03-24 20:55 ` [PATCH 1/3] multipathd: monitor new multipath dev even if we can't update it Benjamin Marzinski
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Benjamin Marzinski @ 2025-03-24 20:55 UTC (permalink / raw)
  To: Christophe Varoqui; +Cc: device-mapper development, Martin Wilck

I ran into an issue where multipathd wasn't tracking a multipath
device that was created by the multipath command. It turns out that if
multipathd fully initialized a path device, and that device later
goes offline and then a multipath device that could use that path is
created by multipath, multipathd will attempt to reload the device
to use the offline path, which will fail. This will cause it to not
track the multipath device at all.

The first patch fixes this. The second patch allows mutipathd to track
these offline paths that should belong to a device, and add them to
device once they come back online. The third patch is just a cleanup.

Benjamin Marzinski (3):
  multipathd: monitor new multipath dev even if we can't update it
  multipathd: re-add paths skipped because they were offline
  multipathd: don't update paths in INIT_MISSING_UDEV

 libmultipath/print.c       |  1 +
 libmultipath/structs.h     |  5 ++++
 libmultipath/structs_vec.c |  5 ++++
 multipathd/main.c          | 59 ++++++++++++++++++++++++++++++++++++--
 4 files changed, 67 insertions(+), 3 deletions(-)

-- 
2.48.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-03-28 19:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-24 20:55 [PATCH 0/3] fix issue of multipathd not tracking device Benjamin Marzinski
2025-03-24 20:55 ` [PATCH 1/3] multipathd: monitor new multipath dev even if we can't update it Benjamin Marzinski
2025-03-25 22:33   ` Martin Wilck
2025-03-27 23:51     ` Benjamin Marzinski
2025-03-24 20:55 ` [PATCH 2/3] multipathd: re-add paths skipped because they were offline Benjamin Marzinski
2025-03-25 22:33   ` Martin Wilck
2025-03-28 16:36     ` Benjamin Marzinski
2025-03-28 19:15       ` Martin Wilck
2025-03-24 20:55 ` [PATCH 3/3] multipathd: don't update paths in INIT_MISSING_UDEV Benjamin Marzinski
2025-03-25 22:40   ` Martin Wilck

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.