Skip to content
Commit 56ac36d7 authored by Dan Williams's avatar Dan Williams
Browse files

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: default avatarDan Williams <dan.j.williams@intel.com>
parent 0310fa21
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment