4 #include <linux/raid/md.h>
8 sector_t zone_start; /* Zone offset in md_dev (in sectors) */
9 sector_t dev_start; /* Zone offset in real dev (in sectors) */
10 sector_t sectors; /* Zone size in sectors */
11 int nb_dev; /* # of devices attached to the zone */
12 mdk_rdev_t **dev; /* Devices attached to the zone */
15 struct raid0_private_data
17 struct strip_zone **hash_table; /* Table of indexes into strip_zone */
18 struct strip_zone *strip_zone;
19 mdk_rdev_t **devlist; /* lists of rdevs, pointed to by strip_zone->dev */
23 int sector_shift; /* shift this before divide by spacing */
26 typedef struct raid0_private_data raid0_conf_t;
28 #define mddev_to_conf(mddev) ((raid0_conf_t *) mddev->private)