Re: [dm-devel] [RFC PATCH 11/20] libmultipath: add vector_convert()

2018-02-28 Thread Benjamin Marzinski
On Tue, Feb 20, 2018 at 02:26:49PM +0100, Martin Wilck wrote: > This is a handy helper for creating one vector from another, > mapping each element of the origin vector to an element of > the target vector with a given conversion function. It can > also be used to "concatenate" vectors by passing i

[dm-devel] [RFC PATCH 11/20] libmultipath: add vector_convert()

2018-02-20 Thread Martin Wilck
This is a handy helper for creating one vector from another, mapping each element of the origin vector to an element of the target vector with a given conversion function. It can also be used to "concatenate" vectors by passing in a non-NULL first argument. Signed-off-by: Martin Wilck --- libmul