From: NeilBrown Date: Tue, 1 Jun 2010 09:37:26 +0000 (+1000) Subject: md: be more careful setting MD_CHANGE_CLEAN X-Git-Tag: v2.6.36-rc1~280^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=676e42d896ab6967859fabbb06f4e11b9615cbcf;p=pandora-kernel.git 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 --- Reading git-diff-tree failed