[dm-devel] [PATCH 0/5] multipathd: fix __delayed_reconfig logic

mwilck at suse.com mwilck at suse.com
Mon Mar 14 21:30:31 UTC 2022


From: Martin Wilck <mwilck at suse.com>

Hi Ben, hi Christophe, hi Guozhonghua,

here's my new take at the race condition issue reported by Guozhonghua.
This patch set is meant as an alternative to Ben's recent series
"fix looping when reconfigure is delayed". I believe that by removing
the special case from __post_config_state(), the state change logic
becomes somewhat easier to understand again.

I hope I got it right this time.

Regards
Martin

Martin Wilck (5):
  multipathd: child(): remove superfluous if condition
  multipathd: set reload_type in when calling reconfigure()
  multipathd: avoid busy loop in child() for delayed reconfigure
  multipathd: reset __delayed_reconfig from ev_add_map()
  multipathd: remove volatile qualifier from running_state

 multipathd/main.c | 146 +++++++++++++++++++++-------------------------
 1 file changed, 67 insertions(+), 79 deletions(-)

-- 
2.35.1



More information about the dm-devel mailing list