[dm-devel] [PATCH v5 03/22] libmultipath: should_multipath: keep existing maps

Hannes Reinecke hare at suse.de
Mon Apr 16 06:08:55 UTC 2018


On Fri, 13 Apr 2018 23:59:56 +0200
Martin Wilck <mwilck at suse.com> wrote:

> with find_multipaths "yes" and without the "-n" option to multipathd,
> if a path is already multipathed, keep it. The same logic is applied
> by "multipath -u -i".
> 
> To do this, we need to add a "mpvec" parameter to should_multipath().
> 
> Reviewed-by: Benjamin Marzinski <bmarzins at redhat.com>
> Signed-off-by: Martin Wilck <mwilck at suse.com>
> ---
>  libmultipath/configure.c |  2 +-
>  libmultipath/wwids.c     | 12 +++++++++++-
>  libmultipath/wwids.h     |  2 +-
>  multipathd/main.c        |  2 +-
>  4 files changed, 14 insertions(+), 4 deletions(-)
> 

Reviewed-by: Hannes Reinecke <hare at suse.com>

Cheers,

Hannes




More information about the dm-devel mailing list