Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <neilb@suse.de>
- Loading branch information