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

md: do not count blocked devices as spares



remove_and_add_spares() assumes that failed devices have been hot-removed
from the array.  Removal is skipped in the 'blocked' case so do not count a
device in this state as 'spare'.

Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent df10cfbc
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