From: Benjamin Marzinski Subject: Re: [PATCH 04/16] libmultipath: add wrapper function around pgpolicyfn Date: Fri, 16 Aug 2019 16:02:34 -0500 Message-ID: <20190816210234.GJ25414@octiron.msp.redhat.com> References: <1564763622-31752-1-git-send-email-bmarzins@redhat.com> <1564763622-31752-5-git-send-email-bmarzins@redhat.com> <944d12858b6fc3660150d03f07ad1126132acaa3.camel@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <944d12858b6fc3660150d03f07ad1126132acaa3.camel@suse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Martin Wilck Cc: "dm-devel@redhat.com" , "mkumar@redhat.com" List-Id: dm-devel.ids On Wed, Aug 14, 2019 at 09:39:27PM +0000, Martin Wilck wrote: > 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 > > Reviewed-by: Martin Wilck > > (Suggestion: squash this with 07/16, and possibly also 05/16 and > 06/16). > Sure. -Ben