From: NeilBrown Date: Thu, 28 Jul 2011 01:31:47 +0000 (+1000) Subject: md: don't allow arrays to contain devices with bad blocks. X-Git-Tag: v3.1-rc1~131^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34b343cff4354ab9864be83be88405fd53d928a0;p=pandora-kernel.git md: don't allow arrays to contain devices with bad blocks. As no personality understand bad block lists yet, we must reject any device that is known to contain bad blocks. As the personalities get taught, these tests can be removed. This only applies to raid1/raid5/raid10. For linear/raid0/multipath/faulty the whole concept of bad blocks doesn't mean anything so there is no point adding the checks. Signed-off-by: NeilBrown Reviewed-by: Namhyung Kim --- Reading git-diff-tree failed