]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitda70218a07f93e798001fff48d515660c0b57816
treec41ca18f31dd2320f2ae7b54602682f81bf18e6e
parentd0ef2530afbe29f55058b371ea0db33cd27ecbf0
[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