diff options
Diffstat (limited to 'include/linux/raid')
| -rw-r--r-- | include/linux/raid/raid10.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/raid/raid10.h b/include/linux/raid/raid10.h index dfa528385e3..b1103298a8c 100644 --- a/include/linux/raid/raid10.h +++ b/include/linux/raid/raid10.h | |||
| @@ -104,6 +104,13 @@ struct r10bio_s { | |||
| 104 | } devs[0]; | 104 | } devs[0]; |
| 105 | }; | 105 | }; |
| 106 | 106 | ||
| 107 | /* when we get a read error on a read-only array, we redirect to another | ||
| 108 | * device without failing the first device, or trying to over-write to | ||
| 109 | * correct the read error. To keep track of bad blocks on a per-bio | ||
| 110 | * level, we store IO_BLOCKED in the appropriate 'bios' pointer | ||
| 111 | */ | ||
| 112 | #define IO_BLOCKED ((struct bio*)1) | ||
| 113 | |||
| 107 | /* bits for r10bio.state */ | 114 | /* bits for r10bio.state */ |
| 108 | #define R10BIO_Uptodate 0 | 115 | #define R10BIO_Uptodate 0 |
| 109 | #define R10BIO_IsSync 1 | 116 | #define R10BIO_IsSync 1 |
