commit | e542713529e323ff09d7aeb5806cf29f6f160f53 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Mon Jul 28 23:28:06 2008 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Mon Jul 28 17:52:44 2008 -0700 |
tree | 751dffc2043342eb6f76b0c37a07a698462b5516 | |
parent | df10cfbc4d7ab93260d997df754219d390d62a9d [diff] |
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: Dan Williams <dan.j.williams@intel.com>