Re: [dm-devel] [PATCH v2 3/6] multipathd: make ev_remove_path return success on path removal

2021-05-13 Thread Martin Wilck
On Thu, 2021-05-13 at 12:23 -0500, Benjamin Marzinski wrote: > When ev_remove_path() returns success, callers assume that the path > (and > possibly the map) has been removed.  When ev_remove_path() returns > failure, callers assume that the path has not been removed. However, > the > path could

[dm-devel] [PATCH v2 3/6] multipathd: make ev_remove_path return success on path removal

2021-05-13 Thread Benjamin Marzinski
When ev_remove_path() returns success, callers assume that the path (and possibly the map) has been removed. When ev_remove_path() returns failure, callers assume that the path has not been removed. However, the path could be removed on both success or failure. This could cause callers to