[dm-devel] [PATCH v5 10/22] libmultipath: indicate wwid failure in dm_addmap_create()
Hannes Reinecke
hare at suse.de
Mon Apr 16 06:13:33 UTC 2018
On Sat, 14 Apr 2018 00:00:03 +0200
Martin Wilck <mwilck at suse.com> wrote:
> dm_addmap_create() is where we actually try to set up a new
> multipath map. Depending on the result, mark the wwid as
> failed (or not), and re-trigger an uevent if necessary.
> If a path changes from multipath to non-multipath, use an "add"
> event to make sure LVM2 rules pick it up. Increase log level
> of this event to 3.
>
> Signed-off-by: Martin Wilck <mwilck at suse.com>
> Reviewed-by: Benjamin Marzinski <bmarzins at redhat.com>
> ---
> libmultipath/configure.c | 35 +++++++++++++++++++++++++++--------
> libmultipath/configure.h | 2 +-
> libmultipath/devmapper.c | 9 ++++++++-
> libmultipath/structs.h | 1 +
> multipathd/main.c | 2 +-
> 5 files changed, 38 insertions(+), 11 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare at suse.com>
Cheers,
Hannes
More information about the dm-devel
mailing list