[PATCH v2 2/3] multipathd: re-add paths skipped because they were offline

2025-03-31 Thread Benjamin Marzinski
When a new device is added by the multipath command, multipathd may know of other paths that cannot be added to the device because they are currently offline. Instead of ignoring these paths, multipathd will now re-add them when they come back online. To do this, it multipathd needs a new path vari

[PATCH v2 0/3] fix issue of multipathd not tracking device

2025-03-31 Thread Benjamin Marzinski
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, multip

[PATCH v2 1/3] multipathd: monitor new multipath dev even if we can't update it

2025-03-31 Thread Benjamin Marzinski
If a multipath device was created by the multipath command, multipathd might not agree with how the device was created. ev_add_map() can reload the device with a different table by calling add_map_without_path() -> update_map(). If this reloading of the map failed, multipathd was simply ignoring th