Re: [dm-devel] [RFC Patch 3/3] multipath: add libmpathvalid library

2020-04-03 Thread Benjamin Marzinski
On Fri, Apr 03, 2020 at 09:14:58AM +, Martin Wilck wrote: > Hi Ben, > > On Tue, 2020-03-31 at 12:31 -0500, Benjamin Marzinski wrote: > > On Tue, Mar 31, 2020 at 03:38:25PM +, Martin Wilck wrote: > > > On Mon, 2020-03-30 at 21:00 -0500, Benjamin Marzinski wrote: > > > > This library allows

Re: [dm-devel] [RFC Patch 3/3] multipath: add libmpathvalid library

2020-04-03 Thread Martin Wilck
Hi Ben, On Tue, 2020-03-31 at 12:31 -0500, Benjamin Marzinski wrote: > On Tue, Mar 31, 2020 at 03:38:25PM +, Martin Wilck wrote: > > On Mon, 2020-03-30 at 21:00 -0500, Benjamin Marzinski wrote: > > > This library allows other programs to check if a path should be > > > claimed > > > by multipa

Re: [dm-devel] [RFC Patch 3/3] multipath: add libmpathvalid library

2020-03-31 Thread Benjamin Marzinski
On Tue, Mar 31, 2020 at 03:38:25PM +, Martin Wilck wrote: > On Mon, 2020-03-30 at 21:00 -0500, Benjamin Marzinski wrote: > > This library allows other programs to check if a path should be > > claimed > > by multipath. Currently, it only includes one function, > > mpath_is_path(), which takes

Re: [dm-devel] [RFC Patch 3/3] multipath: add libmpathvalid library

2020-03-31 Thread Martin Wilck
On Mon, 2020-03-30 at 21:00 -0500, Benjamin Marzinski wrote: > This library allows other programs to check if a path should be > claimed > by multipath. Currently, it only includes one function, > mpath_is_path(), which takes a device name, mode to for checking the > path, and an optional info str

[dm-devel] [RFC Patch 3/3] multipath: add libmpathvalid library

2020-03-30 Thread Benjamin Marzinski
This library allows other programs to check if a path should be claimed by multipath. Currently, it only includes one function, mpath_is_path(), which takes a device name, mode to for checking the path, and an optional info structure, to return the wwid. The modes work mostly like they do for "mul