[dm-devel] [PATCH 04/16] libmultipath: add wrapper function around pgpolicyfn

Martin Wilck Martin.Wilck at suse.com
Wed Aug 14 21:39:27 UTC 2019


On Fri, 2019-08-02 at 11:33 -0500, Benjamin Marzinski wrote:
> group_paths() is a wrapper around the pgpolicy functions, that pulls
> out
> the common code from the beginning and the end. However since
> one_group() didn't free the mp->paths vector, it has to set it to
> NULL,
> to avoid having the wrapper code do that. Also, the pathgroups in
> group_by_prio are now needlessly sorted afterwards.
> 
> Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>

Reviewed-by: Martin Wilck <mwilck at suse.com>

(Suggestion: squash this with 07/16, and possibly also 05/16 and
06/16).





More information about the dm-devel mailing list