From: NeilBrown Date: Wed, 30 Dec 2009 04:25:23 +0000 (+1100) Subject: md: allow a resync that is waiting for other resync to complete, to be aborted. X-Git-Tag: v2.6.33-rc3~43^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=404e4b43fdd6daa7b4a9f81bc7e4358281d763fa;p=pandora-kernel.git md: allow a resync that is waiting for other resync to complete, to be aborted. If two arrays share a device, then they will not both resync at the same time. One will wait for the other to complete. While waiting, the MD_RECOVERY_INTR flag is not checked so a device failure, which would make the resync pointless, does not cause the resync to abort, so the failed device cannot be removed (as it cannot be remove while a resync is happening). So add a test for MD_RECOVERY_INTR. Reported-by: Brett Russ Signed-off-by: NeilBrown --- Reading git-diff-tree failed