https://github.com/torvalds/linux
Revision 16d9cfab930bb6f4946cff8ba7429701fd15b414 authored by Eric Mei on 06 January 2015, 17:35:02 UTC, committed by NeilBrown on 25 February 2015, 00:38:26 UTC
When we have more than 1 drive failure, it's possible we start
rebuild one drive while leaving another faulty drive in array.
To determine whether array will be optimal after building, current
code only check whether a drive is missing, which could potentially
lead to data corruption. This patch is to add checking Faulty flag.

Signed-off-by: NeilBrown <neilb@suse.de>
1 parent d1901ef
History
Tip revision: 16d9cfab930bb6f4946cff8ba7429701fd15b414 authored by Eric Mei on 06 January 2015, 17:35:02 UTC
raid5: check faulty flag for array status during recovery.
Tip revision: 16d9cfa
File Mode Size
.gitignore -rw-r--r-- 151 bytes
Kconfig -rw-r--r-- 2.9 KB
Makefile -rw-r--r-- 2.3 KB
gen_init_cpio.c -rw-r--r-- 12.7 KB
initramfs_data.S -rw-r--r-- 1.3 KB

back to top