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
File Mode Size
Kconfig -rw-r--r-- 50.7 KB
Makefile -rw-r--r-- 1.1 KB
calibrate.c -rw-r--r-- 8.3 KB
do_mounts.c -rw-r--r-- 12.8 KB
do_mounts.h -rw-r--r-- 1.4 KB
do_mounts_initrd.c -rw-r--r-- 3.4 KB
do_mounts_md.c -rw-r--r-- 8.2 KB
do_mounts_rd.c -rw-r--r-- 8.4 KB
init_task.c -rw-r--r-- 668 bytes
initramfs.c -rw-r--r-- 12.9 KB
main.c -rw-r--r-- 21.4 KB
noinitramfs.c -rw-r--r-- 1.5 KB
version.c -rw-r--r-- 1.1 KB

back to top