diff options
author | Adam Kwolek <adam.kwolek@intel.com> | 2011-06-14 12:46:53 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-06-14 12:46:53 +1000 |
commit | e1c1d4f4427c0b2bc61914930de55019fdd3dabd (patch) | |
tree | dff2ccb3ba68532844111ec3733970e6b0f61754 | |
parent | d1877f697d8084755c80079bc3a8ee7f93788833 (diff) | |
download | mdadm-e1c1d4f4427c0b2bc61914930de55019fdd3dabd.tar.gz |
imsm: FIX: Migration Raid0->Raid5 cannot be restarted correctly
When array raid0 is migrated to raid5, reshape cannot be continued
correctly due to wrong array parameters settings.
Raid disks number is set too big.
There is no need, during raid0->raid5 migration to increase
info->array.raid_disks, it is already set to final value using
designation map information.
Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
-rw-r--r-- | super-intel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/super-intel.c b/super-intel.c index 65d1f1b..7190f51 100644 --- a/super-intel.c +++ b/super-intel.c @@ -2126,7 +2126,6 @@ static void getinfo_super_imsm_volume(struct supertype *st, struct mdinfo *info, /* conversion is happening as RAID5 */ info->array.level = 5; info->array.layout = ALGORITHM_PARITY_N; - info->array.raid_disks += 1; info->delta_disks -= 1; break; default: |