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
File Mode Size
unittest-data
Kconfig -rw-r--r-- 1.5 KB
Makefile -rw-r--r-- 780 bytes
address.c -rw-r--r-- 24.8 KB
base.c -rw-r--r-- 59.3 KB
device.c -rw-r--r-- 4.6 KB
dynamic.c -rw-r--r-- 19.1 KB
fdt.c -rw-r--r-- 28.4 KB
fdt_address.c -rw-r--r-- 6.2 KB
irq.c -rw-r--r-- 15.9 KB
of_mdio.c -rw-r--r-- 8.0 KB
of_mtd.c -rw-r--r-- 2.8 KB
of_net.c -rw-r--r-- 2.4 KB
of_pci.c -rw-r--r-- 7.5 KB
of_pci_irq.c -rw-r--r-- 3.5 KB
of_private.h -rw-r--r-- 3.2 KB
of_reserved_mem.c -rw-r--r-- 7.4 KB
overlay.c -rw-r--r-- 13.2 KB
pdt.c -rw-r--r-- 5.7 KB
platform.c -rw-r--r-- 17.4 KB
resolver.c -rw-r--r-- 10.1 KB
unittest.c -rw-r--r-- 49.4 KB

back to top