NeilBrown 676e42d896 md: be more careful setting MD_CHANGE_CLEAN
When MD_CHANGE_CLEAN is set we might block in md_write_start.
So we should only set it when fairly sure that something will clear
it.

There are two places where it is set so as to encourage a metadata
update to record the progress of resync/recovery.  This should only
be done if the internal metadata update mechanisms are in use, which
can be tested by by inspecting '->persistent'.

Signed-off-by: NeilBrown <neilb@suse.de>
2010-07-26 12:52:27 +10:00
..
2006-01-01 22:21:50 +01:00
2009-12-10 23:52:32 +00:00
2009-12-10 23:52:22 +00:00
2009-12-10 23:52:13 +00:00
2007-10-20 02:01:26 +01:00
2010-07-21 13:27:53 +10:00
2010-06-24 13:34:57 +10:00
2009-03-31 14:57:37 +11:00