diff options
author | NeilBrown <neilb@suse.de> | 2011-07-27 21:31:47 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-07-27 21:31:47 -0400 |
commit | 34b343cff4354ab9864be83be88405fd53d928a0 (patch) | |
tree | 10d75ecac6091f955cbb8a60b79f443355ca4ea8 /drivers/md/md.h | |
parent | 6e0d2d0312fb20c1edac1b2c849068c1c7944abf (diff) |
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 <neilb@suse.de>
Reviewed-by: Namhyung Kim <namhyung@gmail.com>
Diffstat (limited to 'drivers/md/md.h')
0 files changed, 0 insertions, 0 deletions