diff options
Diffstat (limited to 'drivers/md/raid1.h')
-rw-r--r-- | drivers/md/raid1.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/md/raid1.h b/drivers/md/raid1.h index e743a64fac4f..3cd18cfda2ad 100644 --- a/drivers/md/raid1.h +++ b/drivers/md/raid1.h | |||
@@ -48,6 +48,12 @@ struct r1_private_data_s { | |||
48 | * (fresh device added). | 48 | * (fresh device added). |
49 | * Cleared when a sync completes. | 49 | * Cleared when a sync completes. |
50 | */ | 50 | */ |
51 | int recovery_disabled; /* when the same as | ||
52 | * mddev->recovery_disabled | ||
53 | * we don't allow recovery | ||
54 | * to be attempted as we | ||
55 | * expect a read error | ||
56 | */ | ||
51 | 57 | ||
52 | wait_queue_head_t wait_barrier; | 58 | wait_queue_head_t wait_barrier; |
53 | 59 | ||