diff options
author | Neil Brown <neilb@notabene.brown> | 2008-06-28 08:31:41 +1000 |
---|---|---|
committer | Neil Brown <neilb@notabene.brown> | 2008-06-28 08:31:41 +1000 |
commit | 72a23c211e4587859d5bf61ac4962d76e593fb02 (patch) | |
tree | b35b554d7eb9c4b3a2cbc4d9378d362e5e56e44f /drivers/ssb | |
parent | 0fd62b861eac7d2dea9b7e939953b20f37186ea1 (diff) | |
download | blackbird-op-linux-72a23c211e4587859d5bf61ac4962d76e593fb02.tar.gz blackbird-op-linux-72a23c211e4587859d5bf61ac4962d76e593fb02.zip |
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>
Diffstat (limited to 'drivers/ssb')
0 files changed, 0 insertions, 0 deletions