diff options
author | NeilBrown <neilb@suse.de> | 2011-12-23 10:17:53 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-12-23 10:17:53 +1100 |
commit | 7bfec5f35c68121e7b1849f3f4166dd96c8da5b3 (patch) | |
tree | 14bab6480ccc14a6cdf9e5ee34662897e5e2e94a /lib/halfmd4.c | |
parent | 17045f52ac76d9cd1a120e52af5d83b570af4ba8 (diff) | |
download | linux-7bfec5f35c68121e7b1849f3f4166dd96c8da5b3.tar.gz linux-7bfec5f35c68121e7b1849f3f4166dd96c8da5b3.tar.bz2 linux-7bfec5f35c68121e7b1849f3f4166dd96c8da5b3.zip |
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>
Diffstat (limited to 'lib/halfmd4.c')
0 files changed, 0 insertions, 0 deletions