Neil Brown 72a23c211e Make sure all changes to md/sync_action are notified.
When the 'resync' thread starts or stops, when we explicitly
set sync_action, or when we determine that there is definitely nothing
to do, we notify sync_action.

To stop "sync_action" from occasionally showing the wrong value,
we introduce a new flags - MD_RECOVERY_RECOVER - to say that a
recovery is probably needed or happening, and we make sure
that we set MD_RECOVERY_RUNNING before clearing MD_RECOVERY_NEEDED.

Signed-off-by: Neil Brown <neilb@suse.de>
2008-06-28 08:31:41 +10:00
..
2008-06-11 16:50:40 -07:00
2008-06-12 18:05:40 -07:00
2008-06-19 00:12:35 +02:00
2008-05-24 09:56:11 -07:00
2008-05-20 16:44:43 +02:00
2008-06-19 06:50:32 -04:00
2008-06-20 20:53:35 +02:00
2008-06-19 00:12:36 +02:00
2008-05-20 13:31:55 -07:00
2008-04-29 08:06:18 -07:00
2008-05-21 16:56:00 -07:00
2008-06-20 21:58:02 -07:00
2008-06-12 18:05:42 -07:00
2008-06-15 11:12:20 -05:00
2008-05-20 13:31:55 -07:00
2008-04-30 08:29:52 -07:00
2008-04-30 08:29:52 -07:00