[dm-devel] [PATCH v5 18/22] multipath -u: quick check if path is multipathed
Hannes Reinecke
hare at suse.de
Mon Apr 16 06:29:31 UTC 2018
On Sat, 14 Apr 2018 00:00:11 +0200
Martin Wilck <mwilck at suse.com> 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"
> considerably.
>
> Signed-off-by: Martin Wilck <mwilck at suse.com>
> Reviewed-by: Benjamin Marzinski <bmarzins at redhat.com>
> ---
> libmultipath/sysfs.c | 66
> ++++++++++++++++++++++++++++++++++++++++++++++++++++
> libmultipath/sysfs.h | 2 ++ multipath/main.c | 9 +++++++
> 3 files changed, 77 insertions(+)
>
Reviewed-by: Hannes Reinecke <hare at suse.com>
Cheers,
Hannes
More information about the dm-devel
mailing list