From: NeilBrown Date: Thu, 28 Feb 2013 00:59:03 +0000 (+1100) Subject: md: expedite metadata update when switching read-auto -> active X-Git-Tag: v3.9-rc2~28^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3378b48705154b9089affb2d2e939622aea68f1;p=pandora-kernel.git md: expedite metadata update when switching read-auto -> active If something has failed while the array was read-auto, then when we switch to 'active' we need to update the metadata. This will happen anyway but it is good to expedite it, and also to ensure any failed device has been released by the underlying device before we try to action the ioctl which caused us to switch to 'active' mode. Reported-by: Joe Lawrence Signed-off-by: NeilBrown --- Reading git-diff-tree failed