Re: [dm-devel] [PATCH v5 18/22] multipath -u: quick check if path is multipathed

2018-04-16 Thread Hannes Reinecke
On Sat, 14 Apr 2018 00:00:11 +0200 Martin Wilck wrote: > With "find_multipaths smart", we accept paths as valid if they are > already part of a multipath map. This patch avoids doing a full path > and device-mapper map scan for this case, speeding up "multipath -u" >

[dm-devel] [PATCH v5 18/22] multipath -u: quick check if path is multipathed

2018-04-15 Thread Martin Wilck
With "find_multipaths smart", we accept paths as valid if they are already part of a multipath map. This patch avoids doing a full path and device-mapper map scan for this case, speeding up "multipath -u" considerably. Signed-off-by: Martin Wilck Reviewed-by: Benjamin Marzinski