]> 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)
commite6b1f34fdf291c31bd16767e7e559572711b99ba
treeb8e8421a3aae1ee8f21df97f76b116fd0a0a9b1c
parentb5f8b2e0191296c936df20e75fbe505b65407ae8
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