diff options
Diffstat (limited to 'include/linux/raid/raid1.h')
| -rw-r--r-- | include/linux/raid/raid1.h | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/include/linux/raid/raid1.h b/include/linux/raid/raid1.h index cbe4238d3f9f..9d5494aaac0f 100644 --- a/include/linux/raid/raid1.h +++ b/include/linux/raid/raid1.h | |||
| @@ -109,6 +109,13 @@ struct r1bio_s { | |||
| 109 | /* DO NOT PUT ANY NEW FIELDS HERE - bios array is contiguously alloced*/ | 109 | /* DO NOT PUT ANY NEW FIELDS HERE - bios array is contiguously alloced*/ | 
| 110 | }; | 110 | }; | 
| 111 | 111 | ||
| 112 | /* when we get a read error on a read-only array, we redirect to another | ||
| 113 | * device without failing the first device, or trying to over-write to | ||
| 114 | * correct the read error. To keep track of bad blocks on a per-bio | ||
| 115 | * level, we store IO_BLOCKED in the appropriate 'bios' pointer | ||
| 116 | */ | ||
| 117 | #define IO_BLOCKED ((struct bio*)1) | ||
| 118 | |||
| 112 | /* bits for r1bio.state */ | 119 | /* bits for r1bio.state */ | 
| 113 | #define R1BIO_Uptodate 0 | 120 | #define R1BIO_Uptodate 0 | 
| 114 | #define R1BIO_IsSync 1 | 121 | #define R1BIO_IsSync 1 | 
