Re: [dm-devel] [PATCH v2 2/7] multipathd: fix check_path errors with removed map

2020-07-02 Thread Benjamin Marzinski
On Wed, Jul 01, 2020 at 08:19:57PM +, Martin Wilck wrote: > On Thu, 2020-06-25 at 15:42 -0500, Benjamin Marzinski wrote: > > If a multipath device is removed during, or immediately before the > > call > > to check_path(), multipathd can behave incorrectly. A missing > > multpath > > device

Re: [dm-devel] [PATCH v2 2/7] multipathd: fix check_path errors with removed map

2020-07-01 Thread Martin Wilck
On Thu, 2020-06-25 at 15:42 -0500, Benjamin Marzinski wrote: > If a multipath device is removed during, or immediately before the > call > to check_path(), multipathd can behave incorrectly. A missing > multpath > device will cause update_multipath_strings() to fail, setting > pp->dmstate to

[dm-devel] [PATCH v2 2/7] multipathd: fix check_path errors with removed map

2020-06-25 Thread Benjamin Marzinski
If a multipath device is removed during, or immediately before the call to check_path(), multipathd can behave incorrectly. A missing multpath device will cause update_multipath_strings() to fail, setting pp->dmstate to PSTATE_UNDEF. If the path is up, this state will cause reinstate_path() to be