]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid10: avoid reading from known bad blocks - part 2
authorNeilBrown <neilb@suse.de>
Thu, 28 Jul 2011 01:39:23 +0000 (11:39 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 28 Jul 2011 01:39:23 +0000 (11:39 +1000)
commit4ec52ee536f24fe87fd7440f7a71cb89873a2183
tree0f1d9904fde1d5258c84643a26947288251b9776
parent671540edb5180c6d1567d430b06d9a7b3374b481
md/raid10: avoid reading from known bad blocks - part 2

When redirecting a read error to a different device, we must
again avoid bad blocks and possibly split the request.

Spin_lock typo fixed thanks to Dan Carpenter <error27@gmail.com>

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