md/RAID1: Add missing case for attempting to repair known bad blocks.
authorAlexander Lyakas <alex.bolshoy@gmail.com>
Tue, 17 Jul 2012 10:17:55 +0000 (13:17 +0300)
committerNeilBrown <neilb@suse.de>
Tue, 31 Jul 2012 02:01:29 +0000 (12:01 +1000)
commitd57368afe63b3b7b45ce6c2b8c5276417935be2f
treef9748e1f4ecd42a416e922e3d5890dc32194a4dd
parent895e3c5c58a80bb9e4e05d9ac38b4f30e0f97d80
md/RAID1: Add missing case for attempting to repair known bad blocks.

When doing resync or repair, attempt to correct bad blocks, according
to WriteErrorSeen policy

Signed-off-by: Alex Lyakas <alex.bolshoy@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid1.c