diff options
Diffstat (limited to 'kernel/drivers/md/raid1.h')
-rw-r--r-- | kernel/drivers/md/raid1.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/drivers/md/raid1.h b/kernel/drivers/md/raid1.h index 14ebb288c..61c39b390 100644 --- a/kernel/drivers/md/raid1.h +++ b/kernel/drivers/md/raid1.h @@ -61,6 +61,11 @@ struct r1conf { * block, or anything else. */ struct list_head retry_list; + /* A separate list of r1bio which just need raid_end_bio_io called. + * This mustn't happen for writes which had any errors if the superblock + * needs to be written. + */ + struct list_head bio_end_io_list; /* queue pending writes to be submitted on unplug */ struct bio_list pending_bio_list; @@ -106,6 +111,13 @@ struct r1conf { * the new thread here until we fully activate the array. */ struct md_thread *thread; + + /* Keep track of cluster resync window to send to other + * nodes. + */ + sector_t cluster_sync_low; + sector_t cluster_sync_high; + }; /* |