]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/raid6: Fix raid-6 read-error correction in degraded state
authorGabriele A. Trombetti <g.trombetti.lkrnl1213@logicschema.com>
Wed, 28 Apr 2010 01:51:17 +0000 (11:51 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 May 2010 22:03:08 +0000 (15:03 -0700)
commit14f3f308ad22df647485f680b3b4f552689f23e2
tree81962044f8ae48a68837cf16e5f36bb3292f1495
parent23f16e57f5f2b341129c131fc809c105261338f9
md/raid6: Fix raid-6 read-error correction in degraded state

commit 87aa63000c484bfb9909989316f615240dfee018 upstream.

Fix: Raid-6 was not trying to correct a read-error when in
singly-degraded state and was instead dropping one more device, going to
doubly-degraded state. This patch fixes this behaviour.

Tested-by: Janos Haar <janos.haar@netcenter.hu>
Signed-off-by: Gabriele A. Trombetti <g.trombetti.lkrnl1213@logicschema.com>
Reported-by: Janos Haar <janos.haar@netcenter.hu>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/raid5.c