libmultipath: trigger uevents for partitions, too
authorMartin Wilck <mwilck@suse.com>
Tue, 2 Jul 2019 22:09:42 +0000 (22:09 +0000)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Tue, 1 Oct 2019 19:46:43 +0000 (21:46 +0200)
commit45c9dd91b7d7017e84a01a9b5fb8e8e8339f7bb9
tree2867240ad0861b55e15d1d9a04c7157a538878e6
parent8a7e9b6648898f2c2d2bbd2d22871f79612e716e
libmultipath: trigger uevents for partitions, too

We have added code to re-trigger uevents in various cases where
the status of a device changes from multipath to non-multipath,
or vice-versa. When multipathd triggers uevents for paths of a map
because the status of the map has changed, it needs to trigger
events for the partitions of the path devices, too. The kernel
doesn't do this automatically.

Fixes: c5023200 libmultipath: indicate wwid failure in dm_addmap_create()
Fixes: e5d3c3a0 libmultipath: trigger change uevent on new device creation
Signed-off-by: Martin Wilck <mwilck@suse.com>
libmultipath/configure.c