Re: [dm-devel] [RFC PATCH 3/5] call start_waiter_thread() before setup_multipath()

2018-02-10 Thread Martin Wilck
On Fri, 2018-02-09 at 23:07 -0600, Benjamin Marzinski wrote: > If setup_multipath() is called before the waiter thread has started, > there is a window where a dm event can occur between when > setup_multipath() updates the device state and when the waiter thread > starts waiting for new events, ca

[dm-devel] [RFC PATCH 3/5] call start_waiter_thread() before setup_multipath()

2018-02-09 Thread Benjamin Marzinski
If setup_multipath() is called before the waiter thread has started, there is a window where a dm event can occur between when setup_multipath() updates the device state and when the waiter thread starts waiting for new events, causing the new event to be missed and the multipath device to not get