https://github.com/torvalds/linux
Revision 2e8ac30312973dd20e6807365349ecb1c7e0ea45 authored by majianpeng on 03 July 2012, 05:57:02 UTC, committed by NeilBrown on 03 July 2012, 05:57:02 UTC
We may not be able to fix a bad block if:
 - the array is degraded
 - the over-write fails.

In these cases we currently eject the device, but we should
record a bad block if possible.

Signed-off-by: majianpeng <majianpeng@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
1 parent 0232605
History
Tip revision: 2e8ac30312973dd20e6807365349ecb1c7e0ea45 authored by majianpeng on 03 July 2012, 05:57:02 UTC
md/raid456: When read error cannot be recovered, record bad block
Tip revision: 2e8ac30

back to top