diff options
Diffstat (limited to 'drivers/md/raid5.h')
-rw-r--r-- | drivers/md/raid5.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h index dd708359b45..7ffc683d69d 100644 --- a/drivers/md/raid5.h +++ b/drivers/md/raid5.h @@ -233,6 +233,7 @@ struct stripe_head { struct bio req; struct bio_vec vec; struct page *page; + struct page *dpage; struct bio *toread, *read, *towrite, *written; sector_t sector; /* sector of this page */ unsigned long flags; @@ -252,7 +253,7 @@ struct stripe_head_state { /* r6_state - extra state data only relevant to r6 */ struct r6_state { - int p_failed, q_failed, failed_num[2]; + int p_failed, q_failed, qd_idx, failed_num[2]; }; /* Flags */ @@ -275,6 +276,7 @@ struct r6_state { * filling */ #define R5_Wantdrain 13 /* dev->towrite needs to be drained */ +#define R5_Skipped 14 /* SKIP_BIO_COPY completed */ /* * Write method */ @@ -314,6 +316,10 @@ struct r6_state { #define STRIPE_OP_RECONSTRUCT 4 #define STRIPE_OP_CHECK 5 +#define STRIPE_OP_CHECK_PP 6 +#define STRIPE_OP_CHECK_QP 7 + + /* * Plugging: * |