From: Eric Mei Date: Tue, 6 Jan 2015 17:35:02 +0000 (-0800) Subject: raid5: check faulty flag for array status during recovery. X-Git-Tag: fixes-v4.0-rc2~18^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16d9cfab930bb6f4946cff8ba7429701fd15b414;p=pandora-kernel.git 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: NeilBrown --- Reading git-diff-tree failed