md/raid10 - avoid reading from known bad blocks - part 3
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)
commit8dbed5cebdf6796bf2618457b3653cf820934366
treeb8e8421a3aae1ee8f21df97f76b116fd0a0a9b1c
parent7399c31bc92a26bb8388a73f8e14acadcc512fe5
md/raid10 - avoid reading from known bad blocks - part 3

When attempting to repair a read error, don't read from
devices with a known bad block.

As we are only reading PAGE_SIZE blocks, we don't try to
narrow down to smaller regions in the hope that only part of this
page is bad - it isn't worth the effort.

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