diff options
Diffstat (limited to 'drivers/md/raid5.h')
-rw-r--r-- | drivers/md/raid5.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h index c2f37f25ef44..b2edcc434e41 100644 --- a/drivers/md/raid5.h +++ b/drivers/md/raid5.h | |||
@@ -337,11 +337,16 @@ struct raid5_private_data { | |||
337 | int raid_disks; | 337 | int raid_disks; |
338 | int max_nr_stripes; | 338 | int max_nr_stripes; |
339 | 339 | ||
340 | /* used during an expand */ | 340 | /* reshape_progress is the leading edge of a 'reshape' |
341 | sector_t expand_progress; /* MaxSector when no expand happening */ | 341 | * It has value MaxSector when no reshape is happening |
342 | sector_t expand_lo; /* from here up to expand_progress it out-of-bounds | 342 | * If delta_disks < 0, it is the last sector we started work on, |
343 | * as we haven't flushed the metadata yet | 343 | * else is it the next sector to work on. |
344 | */ | 344 | */ |
345 | sector_t reshape_progress; | ||
346 | /* reshape_safe is the trailing edge of a reshape. We know that | ||
347 | * before (or after) this address, all reshape has completed. | ||
348 | */ | ||
349 | sector_t reshape_safe; | ||
345 | int previous_raid_disks; | 350 | int previous_raid_disks; |
346 | 351 | ||
347 | struct list_head handle_list; /* stripes needing handling */ | 352 | struct list_head handle_list; /* stripes needing handling */ |