Re: [dm-devel] [PATCH v2 1/1] libmultipath: fix false removes in dmevents polling code

2018-12-03 Thread Martin Wilck
On Thu, 2018-11-29 at 16:26 -0600, Benjamin Marzinski wrote: > dm_is_mpath() would return 0 if either a device was not a multipath > device or if the libdevmapper command failed. Because dm_is_mpath() > didn't distinguish between these situations, dm_get_events() could > assume that a device was

[dm-devel] [PATCH v2 1/1] libmultipath: fix false removes in dmevents polling code

2018-11-29 Thread Benjamin Marzinski
dm_is_mpath() would return 0 if either a device was not a multipath device or if the libdevmapper command failed. Because dm_is_mpath() didn't distinguish between these situations, dm_get_events() could assume that a device was not really a multipath device, when in fact it was, and the libdevmappe