]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Allow creation of a RAID6 with a single missing device.
authorNeil Brown <neilb@suse.de>
Mon, 28 Apr 2008 06:30:09 +0000 (16:30 +1000)
committerNeil Brown <neilb@suse.de>
Mon, 28 Apr 2008 06:30:09 +0000 (16:30 +1000)
commit6fb79233b050b4a3575f0e466ab04b5d301ac1de
tree929ec991db01903aa8315f47592d30ecc1793547
parent3cdfb6a71259759f24f48d4c14b76e056d0bfaf6
Allow creation of a RAID6 with a single missing device.

This did not work before as we couldn't mark it clean as there would
be some parity blocks out of sync, and raid6 will not assemble a
dirty degraded array.
So make such arrays doubly degraded (the last device becomes a spare)
and clean.
ChangeLog
Create.c