]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: remove excess drives when converting to RAID0.
authorNeilBrown <neilb@suse.de>
Mon, 24 Jun 2013 04:08:41 +0000 (14:08 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 24 Jun 2013 04:08:41 +0000 (14:08 +1000)
commit6fb8746e4ad9d5be3f2f1e31f1982007646f2258
treee1155e3f1a0ae115afeb7c1ad6c88cd7ac14032a
parent9030d55ff24b38b5f60ed00f508ecfb7b4307ba0
Grow: remove excess drives when converting to RAID0.

When converting to RAID0, all spares and non-data drives
need to be removed first.
It is possible that the first HOT_REMOVE_DISK will fail because the
personality hasn't let go of it yet, so retry a few times.

Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c