NeilBrown
f7851be736
md: Keep /proc/mdstat reporting recovery until fully DONE.
...
Currently when a recovery completes, mdstat shows that it has finished
before the new device is marked as a full member. Because of this it
can appear to a script that the recovery finished but the array isn't
in sync.
So while MD_RECOVERY_DONE is still set, keep mdstat reporting "recovery".
Once md_reap_sync_thread() completes, the spare will be active and then
MD_RECOVERY_DONE will be cleared.
To ensure this is race-free, set MD_RECOVERY_DONE before clearning
curr_resync.
Signed-off-by: NeilBrown <neilb@suse.com>
2015-08-31 19:29:09 +02:00
..
2015-07-11 09:57:32 -06:00
2015-07-06 10:45:02 -04:00
2015-07-25 11:24:58 -07:00
2015-04-22 07:59:39 +10:00
2015-05-29 14:19:06 -04:00
2015-05-29 14:19:06 -04:00
2013-11-23 22:33:55 -08:00
2015-02-09 13:06:48 -05:00
2014-01-14 23:23:03 -05:00
2014-01-14 23:23:04 -05:00
2014-11-10 15:25:30 -05:00
2015-06-11 17:13:00 -04:00
2015-06-11 17:13:00 -04:00
2015-05-29 14:19:04 -04:00
2015-06-11 17:13:01 -04:00
2015-06-17 12:40:38 -04:00
2015-07-27 07:58:15 -04:00
2014-01-16 13:44:11 -05:00
2015-06-11 17:13:01 -04:00
2015-07-29 14:32:09 -04:00
2015-05-29 14:19:02 -04:00
2015-04-15 12:10:21 -04:00
2014-06-03 13:44:08 -04:00
2012-07-27 15:07:59 +01:00
2013-11-23 22:33:47 -08:00
2015-02-27 14:53:32 -05:00
2015-04-30 10:25:21 -04:00
2013-08-23 09:02:13 -04:00
2013-11-23 22:33:47 -08:00
2015-04-15 12:10:20 -04:00
2015-04-15 12:10:20 -04:00
2015-05-29 14:19:01 -04:00
2012-07-30 17:25:16 -07:00
2015-05-27 17:37:22 -04:00
2012-03-28 18:41:26 +01:00
2015-05-29 14:19:02 -04:00
2015-05-29 14:19:00 -04:00
2013-11-23 22:33:47 -08:00
2012-03-28 18:41:26 +01:00
2012-03-28 18:41:26 +01:00
2015-02-09 13:06:49 -05:00
2011-10-31 19:31:19 -04:00
2015-05-22 08:58:55 -06:00
2015-06-17 12:40:41 -04:00
2015-06-17 12:40:40 -04:00
2015-05-29 14:19:01 -04:00
2014-08-01 12:30:37 -04:00
2015-04-15 12:10:17 -04:00
2015-06-26 10:11:58 -04:00
2015-02-09 13:06:47 -05:00
2015-06-11 17:13:06 -04:00
2015-06-11 17:13:04 -04:00
2015-07-26 17:39:19 -04:00
2011-10-31 19:31:19 -04:00
2015-05-22 08:58:55 -06:00
2014-07-10 16:44:14 -04:00
2015-07-13 09:14:11 -04:00
2015-06-26 12:35:01 -07:00
2015-02-04 08:35:52 +11:00
2015-07-27 07:58:16 -04:00
2015-02-04 08:35:52 +11:00
2015-06-11 17:12:59 -04:00
2015-07-24 13:37:59 +10:00
2015-07-24 13:37:59 +10:00
2015-08-31 19:29:09 +02:00
2015-06-02 08:33:34 -06:00
2015-02-04 08:35:52 +11:00
2015-08-03 17:12:44 +10:00
2012-03-19 12:46:39 +11:00
2015-08-03 12:29:42 +10:00
2015-02-04 08:35:52 +11:00
2015-08-03 17:10:56 +10:00
2015-07-22 14:04:15 +10:00
2015-07-22 14:08:24 +10:00
2015-02-04 08:35:52 +11:00