diff options
author | Lukasz Dorau <lukasz.dorau@intel.com> | 2011-10-05 14:17:38 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-10-05 14:17:38 +1100 |
commit | b303fe21b5ad9a239a2984649446fce060918571 (patch) | |
tree | d4fc21a547691ea057e7b6d1e6bcd490a3c9b688 /mapfile.c | |
parent | 6937e6d21698b7a81aff9a116a6e09659defbe91 (diff) |
imsm: fix: correct adding and activation of spare disks
During activation of spare disks, only one of all available
spare disks can be activated at this moment.
It causes that for example during take-over from
RAID0 with 2 disks to RAID10, only one of two spare disks
is taken for recovery and a degraded RAID10 array
with only 3 of 4 working disks is created.
It has been fixed by adding more than one of all available
spare disks and saving them in additional_test_list
which is passed to imsm_add_spare().
Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mapfile.c')
0 files changed, 0 insertions, 0 deletions