diff options
Diffstat (limited to 'drivers/md/raid1.h')
-rw-r--r-- | drivers/md/raid1.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/md/raid1.h b/drivers/md/raid1.h index 3cd18cfda2ad..aa6af37ca01b 100644 --- a/drivers/md/raid1.h +++ b/drivers/md/raid1.h | |||
@@ -123,6 +123,10 @@ struct r1bio_s { | |||
123 | #define R1BIO_IsSync 1 | 123 | #define R1BIO_IsSync 1 |
124 | #define R1BIO_Degraded 2 | 124 | #define R1BIO_Degraded 2 |
125 | #define R1BIO_BehindIO 3 | 125 | #define R1BIO_BehindIO 3 |
126 | /* Set ReadError on bios that experience a readerror so that | ||
127 | * raid1d knows what to do with them. | ||
128 | */ | ||
129 | #define R1BIO_ReadError 4 | ||
126 | /* For write-behind requests, we call bi_end_io when | 130 | /* For write-behind requests, we call bi_end_io when |
127 | * the last non-write-behind device completes, providing | 131 | * the last non-write-behind device completes, providing |
128 | * any write was successful. Otherwise we call when | 132 | * any write was successful. Otherwise we call when |