commit | 7bfec5f35c68121e7b1849f3f4166dd96c8da5b3 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Fri Dec 23 10:17:53 2011 +1100 |
committer | NeilBrown <neilb@suse.de> | Fri Dec 23 10:17:53 2011 +1100 |
tree | 14bab6480ccc14a6cdf9e5ee34662897e5e2e94a | |
parent | 17045f52ac76d9cd1a120e52af5d83b570af4ba8 [diff] |
md/raid5: If there is a spare and a want_replacement device, start replacement. When attempting to add a spare to a RAID[456] array, also consider adding it as a replacement for a want_replacement device. This requires that common md code attempt hot_add even when the array is not formally degraded. Reviewed-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>