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
apparmor
integrity
keys
selinux
smack
tomoyo
yama
Kconfig -rw-r--r-- 5.7 KB
Makefile -rw-r--r-- 1.0 KB
capability.c -rw-r--r-- 23.3 KB
commoncap.c -rw-r--r-- 27.9 KB
device_cgroup.c -rw-r--r-- 11.3 KB
inode.c -rw-r--r-- 6.7 KB
lsm_audit.c -rw-r--r-- 9.3 KB
min_addr.c -rw-r--r-- 1.3 KB
security.c -rw-r--r-- 33.9 KB

back to top