md/raid5: prepare for allowing reshape to change layout
Add prev_algo to raid5_conf_t along the same lines as prev_chunk and previous_raid_disks. Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
@@ -350,7 +350,7 @@ struct raid5_private_data {
|
||||
*/
|
||||
sector_t reshape_safe;
|
||||
int previous_raid_disks;
|
||||
int prev_chunk;
|
||||
int prev_chunk, prev_algo;
|
||||
short generation; /* increments with every reshape */
|
||||
|
||||
struct list_head handle_list; /* stripes needing handling */
|
||||
|
Reference in New Issue
Block a user