diff options
| author | Eric Mei <[email protected]> | 2015-01-06 17:35:02 +0000 |
|---|---|---|
| committer | NeilBrown <[email protected]> | 2015-02-25 00:38:26 +0000 |
| commit | 16d9cfab930bb6f4946cff8ba7429701fd15b414 (patch) | |
| tree | a1a31cbe4685b2d49eebd883a402cb0727685391 /fs/ubifs/commit.c | |
| parent | md/raid1: fix read balance when a drive is write-mostly. (diff) | |
| download | kernel-16d9cfab930bb6f4946cff8ba7429701fd15b414.tar.gz kernel-16d9cfab930bb6f4946cff8ba7429701fd15b414.zip | |
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 <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions
