Re: [dm-devel] [RFC PATCH 12/20] libmultipath: "generic multipath" interface

2018-03-01 Thread Martin Wilck
On Wed, 2018-02-28 at 17:47 -0600, Benjamin Marzinski wrote: > > I have one nit here. print.h now relies on dm-generic.h, since it > uses > dm_multipath_to_gen() in its defines. So shouldn't it simply include > dm-generic.h, which would allow configure.c, main.c, and > cli_handlers.c > to not inc

Re: [dm-devel] [RFC PATCH 12/20] libmultipath: "generic multipath" interface

2018-02-28 Thread Benjamin Marzinski
On Tue, Feb 20, 2018 at 02:26:50PM +0100, Martin Wilck wrote: > This patch adds a simplified abstract interface to the multipath data > structures. > The idea is to allow "foreign" data structures to be treated by libmultipath > if they implement the same interface. Currently, the intention is to

[dm-devel] [RFC PATCH 12/20] libmultipath: "generic multipath" interface

2018-02-20 Thread Martin Wilck
This patch adds a simplified abstract interface to the multipath data structures. The idea is to allow "foreign" data structures to be treated by libmultipath if they implement the same interface. Currently, the intention is to use this only to provide formatted output about from this interface.