]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: add check that there are enough devices.
authorNeilBrown <neilb@suse.de>
Wed, 9 Mar 2011 07:37:00 +0000 (18:37 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 9 Mar 2011 07:37:00 +0000 (18:37 +1100)
commite06c4e59b328ed881007962d22db17bfe9e07b6c
tree5641f17bbccf85d83c7c56bd7f168ac422db396c
parent83732c285b6208936b6fd371e3d8056d3cc5143e
Grow: add check that there are enough devices.

The check for 'enough spares' doesn't apply to RAID0 as we don't
mind it going degraded.  But add a test that there are enough spares
to actually produce a working array.

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