diff options
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r-- | drivers/md/md.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h index a536f5458097..7ab5ea155452 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h | |||
@@ -150,6 +150,12 @@ struct mddev_s | |||
150 | int external_size; /* size managed | 150 | int external_size; /* size managed |
151 | * externally */ | 151 | * externally */ |
152 | __u64 events; | 152 | __u64 events; |
153 | /* If the last 'event' was simply a clean->dirty transition, and | ||
154 | * we didn't write it to the spares, then it is safe and simple | ||
155 | * to just decrement the event count on a dirty->clean transition. | ||
156 | * So we record that possibility here. | ||
157 | */ | ||
158 | int can_decrease_events; | ||
153 | 159 | ||
154 | char uuid[16]; | 160 | char uuid[16]; |
155 | 161 | ||