md/raid10: avoid writing to known bad blocks on known bad drives.
authorNeilBrown <neilb@suse.de>
Thu, 28 Jul 2011 01:39:24 +0000 (11:39 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 28 Jul 2011 01:39:24 +0000 (11:39 +1000)
commitd4432c23be957ff061f7b23fd60e8506cb472a55
tree1e9e8cbc75721e62300bb2251658de870bf79d8a
parente875ecea266a543e643b19e44cf472f1412708f9
md/raid10: avoid writing to known bad blocks on known bad drives.

Writing to known bad blocks on drives that have seen a write error
is asking for trouble.  So try to avoid these blocks.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid10.c