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

2018-04-16 Thread Hannes Reinecke
On Fri, 13 Apr 2018 23:59:56 +0200 Martin Wilck 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

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

2018-04-15 Thread Martin Wilck
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