NeilBrown ea358cd0d2 md: make sure MD_RECOVERY_DONE is clear before starting recovery/resync
MD_RECOVERY_DONE is normally cleared by md_check_recovery after a
resync etc finished.  However it is possible for raid5_start_reshape
to race and start a reshape before MD_RECOVERY_DONE is cleared.  This
can lean to multiple reshapes running at the same time, which isn't
good.

To make sure it is cleared before starting a reshape, and also clear
it when reaping a thread, just to be safe.

Signed-off-by: NeilBrown  <neilb@suse.de>
2015-06-12 20:16:33 +10:00
..
2015-04-22 07:59:39 +10:00
2014-01-14 23:23:03 -05:00
2013-11-23 22:33:47 -08:00
2013-08-23 09:02:13 -04:00
2013-11-23 22:33:47 -08:00
2015-04-15 12:10:24 -04:00
2012-07-30 17:25:16 -07:00
2013-09-05 20:46:06 -04:00
2015-05-29 13:41:16 -04:00
2015-02-04 08:35:52 +11:00
2015-04-24 09:28:01 -07:00
2015-02-04 08:35:52 +11:00
2015-04-24 09:28:01 -07:00
2015-04-22 07:59:39 +10:00
2015-04-22 07:59:39 +10:00
2015-02-04 08:35:52 +11:00