md: raid0: Remove hash table.
[linux-2.6/libata-dev.git] / drivers / md / raid0.h
bloba14630a25aa47872141cc6186c3bd6f368e79141
1 #ifndef _RAID0_H
2 #define _RAID0_H
4 struct strip_zone
6 sector_t zone_end; /* Start of the next zone (in sectors) */
7 sector_t dev_start; /* Zone offset in real dev (in sectors) */
8 sector_t sectors; /* Zone size in sectors */
9 int nb_dev; /* # of devices attached to the zone */
10 mdk_rdev_t **dev; /* Devices attached to the zone */
13 struct raid0_private_data
15 struct strip_zone *strip_zone;
16 mdk_rdev_t **devlist; /* lists of rdevs, pointed to by strip_zone->dev */
17 int nr_strip_zones;
19 sector_t spacing;
20 int sector_shift; /* shift this before divide by spacing */
23 typedef struct raid0_private_data raid0_conf_t;
25 #define mddev_to_conf(mddev) ((raid0_conf_t *) mddev->private)
27 #endif