diff options
Diffstat (limited to 'drivers/md/raid5.h')
-rw-r--r-- | drivers/md/raid5.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h index 75f2c6c4cf90..116d0b44b2a9 100644 --- a/drivers/md/raid5.h +++ b/drivers/md/raid5.h | |||
@@ -176,7 +176,9 @@ | |||
176 | */ | 176 | */ |
177 | enum check_states { | 177 | enum check_states { |
178 | check_state_idle = 0, | 178 | check_state_idle = 0, |
179 | check_state_run, /* parity check */ | 179 | check_state_run, /* xor parity check */ |
180 | check_state_run_q, /* q-parity check */ | ||
181 | check_state_run_pq, /* pq dual parity check */ | ||
180 | check_state_check_result, | 182 | check_state_check_result, |
181 | check_state_compute_run, /* parity repair */ | 183 | check_state_compute_run, /* parity repair */ |
182 | check_state_compute_result, | 184 | check_state_compute_result, |
@@ -216,7 +218,7 @@ struct stripe_head { | |||
216 | * @target - STRIPE_OP_COMPUTE_BLK target | 218 | * @target - STRIPE_OP_COMPUTE_BLK target |
217 | */ | 219 | */ |
218 | struct stripe_operations { | 220 | struct stripe_operations { |
219 | int target; | 221 | int target, target2; |
220 | enum sum_check_flags zero_sum_result; | 222 | enum sum_check_flags zero_sum_result; |
221 | } ops; | 223 | } ops; |
222 | struct r5dev { | 224 | struct r5dev { |
@@ -299,7 +301,7 @@ struct r6_state { | |||
299 | #define STRIPE_OP_COMPUTE_BLK 1 | 301 | #define STRIPE_OP_COMPUTE_BLK 1 |
300 | #define STRIPE_OP_PREXOR 2 | 302 | #define STRIPE_OP_PREXOR 2 |
301 | #define STRIPE_OP_BIODRAIN 3 | 303 | #define STRIPE_OP_BIODRAIN 3 |
302 | #define STRIPE_OP_POSTXOR 4 | 304 | #define STRIPE_OP_RECONSTRUCT 4 |
303 | #define STRIPE_OP_CHECK 5 | 305 | #define STRIPE_OP_CHECK 5 |
304 | 306 | ||
305 | /* | 307 | /* |