Re: [dm-devel] [PATCH v2 1/7] libmultipath: make dm_get_map/status return codes symbolic

2020-07-02 Thread Benjamin Marzinski
On Wed, Jul 01, 2020 at 08:15:49PM +, Martin Wilck wrote: > On Thu, 2020-06-25 at 15:42 -0500, Benjamin Marzinski wrote: > > dm_get_map() and dm_get_status() now use symbolic return codes. They > > also differentiate between failing to get information from device- > > mapper > > and not

Re: [dm-devel] [PATCH v2 1/7] libmultipath: make dm_get_map/status return codes symbolic

2020-07-01 Thread Martin Wilck
On Thu, 2020-06-25 at 15:42 -0500, Benjamin Marzinski wrote: > dm_get_map() and dm_get_status() now use symbolic return codes. They > also differentiate between failing to get information from device- > mapper > and not finding the requested device. These symboilc return codes are > also used by

[dm-devel] [PATCH v2 1/7] libmultipath: make dm_get_map/status return codes symbolic

2020-06-25 Thread Benjamin Marzinski
dm_get_map() and dm_get_status() now use symbolic return codes. They also differentiate between failing to get information from device-mapper and not finding the requested device. These symboilc return codes are also used by update_multipath_* functions. Signed-off-by: Benjamin Marzinski ---