diff options
Diffstat (limited to 'drivers/md/raid1.h')
-rw-r--r-- | drivers/md/raid1.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/md/raid1.h b/drivers/md/raid1.h index 5f2d443ae28a..e743a64fac4f 100644 --- a/drivers/md/raid1.h +++ b/drivers/md/raid1.h | |||
@@ -35,8 +35,6 @@ struct r1_private_data_s { | |||
35 | struct list_head retry_list; | 35 | struct list_head retry_list; |
36 | /* queue pending writes and submit them on unplug */ | 36 | /* queue pending writes and submit them on unplug */ |
37 | struct bio_list pending_bio_list; | 37 | struct bio_list pending_bio_list; |
38 | /* queue of writes that have been unplugged */ | ||
39 | struct bio_list flushing_bio_list; | ||
40 | 38 | ||
41 | /* for use when syncing mirrors: */ | 39 | /* for use when syncing mirrors: */ |
42 | 40 | ||
@@ -96,7 +94,9 @@ struct r1bio_s { | |||
96 | int read_disk; | 94 | int read_disk; |
97 | 95 | ||
98 | struct list_head retry_list; | 96 | struct list_head retry_list; |
99 | struct bitmap_update *bitmap_update; | 97 | /* Next two are only valid when R1BIO_BehindIO is set */ |
98 | struct page **behind_pages; | ||
99 | int behind_page_count; | ||
100 | /* | 100 | /* |
101 | * if the IO is in WRITE direction, then multiple bios are used. | 101 | * if the IO is in WRITE direction, then multiple bios are used. |
102 | * We choose the number when they are allocated. | 102 | * We choose the number when they are allocated. |
@@ -117,8 +117,6 @@ struct r1bio_s { | |||
117 | #define R1BIO_IsSync 1 | 117 | #define R1BIO_IsSync 1 |
118 | #define R1BIO_Degraded 2 | 118 | #define R1BIO_Degraded 2 |
119 | #define R1BIO_BehindIO 3 | 119 | #define R1BIO_BehindIO 3 |
120 | #define R1BIO_Barrier 4 | ||
121 | #define R1BIO_BarrierRetry 5 | ||
122 | /* For write-behind requests, we call bi_end_io when | 120 | /* For write-behind requests, we call bi_end_io when |
123 | * the last non-write-behind device completes, providing | 121 | * the last non-write-behind device completes, providing |
124 | * any write was successful. Otherwise we call when | 122 | * any write was successful. Otherwise we call when |
@@ -128,4 +126,6 @@ struct r1bio_s { | |||
128 | */ | 126 | */ |
129 | #define R1BIO_Returned 6 | 127 | #define R1BIO_Returned 6 |
130 | 128 | ||
129 | extern int md_raid1_congested(mddev_t *mddev, int bits); | ||
130 | |||
131 | #endif | 131 | #endif |