]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcbbc7a905ed816a4fde4708cd83e49ae5129fafb
treeb8e8421a3aae1ee8f21df97f76b116fd0a0a9b1c
parent4ec52ee536f24fe87fd7440f7a71cb89873a2183
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