]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Grow.c
Grow: analyse_change add notification about only 2-device can be convert from RAID1...
authorYi Zhang <yizhan@redhat.com>
Fri, 11 Mar 2016 09:26:40 +0000 (17:26 +0800)
committerJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 11 Mar 2016 17:40:47 +0000 (12:40 -0500)
commita58e0da4436269cdb5f40efadf94f4d02b7e8d61
tree74f128eb6bd75c21ddec0b4472da2dc136b9f395
parent1a6dd6b9c12dab2035eb44f480da96533a6dcf94
Grow: analyse_change add notification about only 2-device can be convert from RAID1 to RAID5

Notify "Can only convert a 2-device array to RAID5" instead of
"Impossibly level change request for RAID1" when convert from
RAID1 to RAID5 if the disk num is not equal two like RAID4/5->RAID1
did.

Signed-off-by: Yi Zhang <yizhan@redhat.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Grow.c