]> err.no Git - linux-2.6/commitdiff
md: cancel check/repair requests when recovery is needed
authorDan Williams <dan.j.williams@intel.com>
Thu, 7 Aug 2008 17:02:47 +0000 (10:02 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 7 Aug 2008 17:02:47 +0000 (10:02 -0700)
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>

No differences found