summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid0.h
diff options
context:
space:
mode:
authorTrela, Maciej <Maciej.Trela@intel.com>2010-03-08 06:02:44 +0100
committerNeilBrown <neilb@suse.de>2010-05-18 07:27:48 +0200
commit9af204cf720cedf369cf823bbd806c350201f7ea (patch)
tree6aa684772cc1ba978e9dd0f67c3e0d5592588ca3 /drivers/md/raid0.h
parentmd:Add support for Raid0->Raid5 takeover (diff)
downloadlinux-9af204cf720cedf369cf823bbd806c350201f7ea.tar.xz
linux-9af204cf720cedf369cf823bbd806c350201f7ea.zip
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.h3
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
struct strip_zone *strip_zone;
mdk_rdev_t **devlist; /* lists of rdevs, pointed to by strip_zone->dev */
int nr_strip_zones;
+ int scale_raid_disks; /* divide rdev->raid_disks by this in run()
+ * to handle conversion from raid10
+ */
};
typedef struct raid0_private_data raid0_conf_t;