diff options
Diffstat (limited to 'include/linux/raid/md_k.h')
-rw-r--r-- | include/linux/raid/md_k.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/raid/md_k.h b/include/linux/raid/md_k.h index db2ca2d9066e..682574f3bd36 100644 --- a/include/linux/raid/md_k.h +++ b/include/linux/raid/md_k.h | |||
@@ -88,6 +88,10 @@ struct mdk_rdev_s | |||
88 | * array and could again if we did a partial | 88 | * array and could again if we did a partial |
89 | * resync from the bitmap | 89 | * resync from the bitmap |
90 | */ | 90 | */ |
91 | sector_t recovery_offset;/* If this device has been partially | ||
92 | * recovered, this is where we were | ||
93 | * up to. | ||
94 | */ | ||
91 | 95 | ||
92 | atomic_t nr_pending; /* number of pending requests. | 96 | atomic_t nr_pending; /* number of pending requests. |
93 | * only maintained for arrays that | 97 | * only maintained for arrays that |
@@ -183,6 +187,8 @@ struct mddev_s | |||
183 | #define MD_RECOVERY_REQUESTED 6 | 187 | #define MD_RECOVERY_REQUESTED 6 |
184 | #define MD_RECOVERY_CHECK 7 | 188 | #define MD_RECOVERY_CHECK 7 |
185 | #define MD_RECOVERY_RESHAPE 8 | 189 | #define MD_RECOVERY_RESHAPE 8 |
190 | #define MD_RECOVERY_FROZEN 9 | ||
191 | |||
186 | unsigned long recovery; | 192 | unsigned long recovery; |
187 | 193 | ||
188 | int in_sync; /* know to not need resync */ | 194 | int in_sync; /* know to not need resync */ |