From: Dan Williams Date: Thu, 7 Aug 2008 17:02:47 +0000 (-0700) Subject: md: cancel check/repair requests when recovery is needed X-Git-Tag: v2.6.27-rc4~66^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56ac36d722d0d27c03599d1245ac0ab59e474e5c;hp=56ac36d722d0d27c03599d1245ac0ab59e474e5c;p=linux-2.6 md: cancel check/repair requests when recovery is needed If a 'repair' is requested when an array is in a position to 'recover' raid1 will perform the repair while md believes a recovery is happening. Address this at both ends, i.e. cancel check/repair requests upon detecting a recover condition and do not call ->spare_active after completing a check/repair. Signed-off-by: Dan Williams ---