[PATCH] md: fix raid10 assembly when too many devices are missing
authorNeilBrown <neilb@suse.de>
Fri, 9 Sep 2005 23:24:03 +0000 (16:24 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 23:39:14 +0000 (16:39 -0700)
commit6d508242b231cb6e6803faaef54456abe846edb8
treec41ca18f31dd2320f2ae7b54602682f81bf18e6e
parent611815651b2640449bda928079160b9263efac1c
[PATCH] md: fix raid10 assembly when too many devices are missing

If you try to assemble an array with too many missing devices, raid10 will now
reject the attempt, instead of allowing it.

Also check when hot-adding a drive and refuse the hot-add if the array is
beyond hope.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/raid10.c