Skip to content
Commit 16d9cfab authored by Eric Mei's avatar Eric Mei Committed by NeilBrown
Browse files

raid5: check faulty flag for array status during recovery.



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: default avatarNeilBrown <neilb@suse.de>
parent d1901ef0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment