diff options
author | Trela, Maciej <Maciej.Trela@intel.com> | 2010-03-08 00:02:44 -0500 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-05-18 01:27:48 -0400 |
commit | 9af204cf720cedf369cf823bbd806c350201f7ea (patch) | |
tree | 6aa684772cc1ba978e9dd0f67c3e0d5592588ca3 /drivers/md/raid0.h | |
parent | 54071b3808ee3dc8624d9d6f1b06c4fd5308fa3b (diff) |
md: Add support for Raid5->Raid0 and Raid10->Raid0 takeover
Signed-off-by: Maciej Trela <maciej.trela@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid0.h')
-rw-r--r-- | drivers/md/raid0.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/md/raid0.h b/drivers/md/raid0.h index 91f8e876ee64..d724e664ca4d 100644 --- a/drivers/md/raid0.h +++ b/drivers/md/raid0.h | |||
@@ -13,6 +13,9 @@ struct raid0_private_data | |||
13 | struct strip_zone *strip_zone; | 13 | struct strip_zone *strip_zone; |
14 | mdk_rdev_t **devlist; /* lists of rdevs, pointed to by strip_zone->dev */ | 14 | mdk_rdev_t **devlist; /* lists of rdevs, pointed to by strip_zone->dev */ |
15 | int nr_strip_zones; | 15 | int nr_strip_zones; |
16 | int scale_raid_disks; /* divide rdev->raid_disks by this in run() | ||
17 | * to handle conversion from raid10 | ||
18 | */ | ||
16 | }; | 19 | }; |
17 | 20 | ||
18 | typedef struct raid0_private_data raid0_conf_t; | 21 | typedef struct raid0_private_data raid0_conf_t; |