Re: [dm-devel] [PATCH 1/3] multipath: add libmpathvalid library

2020-09-18 Thread Martin Wilck
On Thu, 2020-09-17 at 18:52 -0500, Benjamin Marzinski wrote: > On Wed, Sep 16, 2020 at 02:18:49PM +, Martin Wilck wrote: > > On Tue, 2020-09-15 at 16:45 -0500, Benjamin Marzinski wrote: > > > > > > +struct config; > > > +extern struct config *mpathvalid_conf; > > > > What do you need this for

Re: [dm-devel] [PATCH 1/3] multipath: add libmpathvalid library

2020-09-17 Thread Benjamin Marzinski
On Wed, Sep 16, 2020 at 02:18:49PM +, Martin Wilck wrote: > On Tue, 2020-09-15 at 16:45 -0500, Benjamin Marzinski wrote: > > This library allows other programs to check if a path should be > > claimed > > by multipath. It exports an init and exit function, a pointer to a > > struct config, that

Re: [dm-devel] [PATCH 1/3] multipath: add libmpathvalid library

2020-09-16 Thread Martin Wilck
On Tue, 2020-09-15 at 16:45 -0500, Benjamin Marzinski wrote: > This library allows other programs to check if a path should be > claimed > by multipath. It exports an init and exit function, a pointer to a > struct config, that stores the configuration which is dealt with in > the > init and exit f

[dm-devel] [PATCH 1/3] multipath: add libmpathvalid library

2020-09-15 Thread Benjamin Marzinski
This library allows other programs to check if a path should be claimed by multipath. It exports an init and exit function, a pointer to a struct config, that stores the configuration which is dealt with in the init and exit functions, and two more functions. mpath_get_mode() get the configured fi