commit | 56ac36d722d0d27c03599d1245ac0ab59e474e5c | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Thu Aug 07 10:02:47 2008 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Thu Aug 07 10:02:47 2008 -0700 |
tree | e65f4d860549532a570b92995906f3c3dec9c529 | |
parent | 0310fa216decc3ecfab41f327638fa48a81f3735 [diff] |
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 <dan.j.williams@intel.com>