diff options
Diffstat (limited to 'include/linux/raid/md_k.h')
-rw-r--r-- | include/linux/raid/md_k.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/raid/md_k.h b/include/linux/raid/md_k.h index d1dad32ebe07..efd04dca0abd 100644 --- a/include/linux/raid/md_k.h +++ b/include/linux/raid/md_k.h | |||
@@ -182,6 +182,8 @@ struct mddev_s | |||
182 | * ERR: and IO error was detected - abort the resync/recovery | 182 | * ERR: and IO error was detected - abort the resync/recovery |
183 | * INTR: someone requested a (clean) early abort. | 183 | * INTR: someone requested a (clean) early abort. |
184 | * DONE: thread is done and is waiting to be reaped | 184 | * DONE: thread is done and is waiting to be reaped |
185 | * REQUEST: user-space has requested a sync (used with SYNC) | ||
186 | * CHECK: user-space request for for check-only, no repair | ||
185 | */ | 187 | */ |
186 | #define MD_RECOVERY_RUNNING 0 | 188 | #define MD_RECOVERY_RUNNING 0 |
187 | #define MD_RECOVERY_SYNC 1 | 189 | #define MD_RECOVERY_SYNC 1 |
@@ -189,6 +191,8 @@ struct mddev_s | |||
189 | #define MD_RECOVERY_INTR 3 | 191 | #define MD_RECOVERY_INTR 3 |
190 | #define MD_RECOVERY_DONE 4 | 192 | #define MD_RECOVERY_DONE 4 |
191 | #define MD_RECOVERY_NEEDED 5 | 193 | #define MD_RECOVERY_NEEDED 5 |
194 | #define MD_RECOVERY_REQUESTED 6 | ||
195 | #define MD_RECOVERY_CHECK 7 | ||
192 | unsigned long recovery; | 196 | unsigned long recovery; |
193 | 197 | ||
194 | int in_sync; /* know to not need resync */ | 198 | int in_sync; /* know to not need resync */ |