diff options
author | NeilBrown <neilb@suse.de> | 2009-03-31 00:20:22 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-03-31 00:20:22 -0400 |
commit | e183eaedd53807e33f02ee80573e2833890e1f21 (patch) | |
tree | ba648feacbc930936e5a66006a19ee8822ac28f5 /drivers/md/raid5.h | |
parent | 784052ecc6ade6b6acf4f67e4ada8e5f2e6df446 (diff) |
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>
Diffstat (limited to 'drivers/md/raid5.h')
-rw-r--r-- | drivers/md/raid5.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h index b9c93280fc1d..cdd045681720 100644 --- a/drivers/md/raid5.h +++ b/drivers/md/raid5.h | |||
@@ -350,7 +350,7 @@ struct raid5_private_data { | |||
350 | */ | 350 | */ |
351 | sector_t reshape_safe; | 351 | sector_t reshape_safe; |
352 | int previous_raid_disks; | 352 | int previous_raid_disks; |
353 | int prev_chunk; | 353 | int prev_chunk, prev_algo; |
354 | short generation; /* increments with every reshape */ | 354 | short generation; /* increments with every reshape */ |
355 | 355 | ||
356 | struct list_head handle_list; /* stripes needing handling */ | 356 | struct list_head handle_list; /* stripes needing handling */ |