Import 2.3.6
[davej-history.git] / include / linux / raid0.h
blobe1ae51c028c5d9a29b7e71c9e7c8c995fa6c5559
1 #ifndef _RAID0_H
2 #define _RAID0_H
4 struct strip_zone
6 int zone_offset; /* Zone offset in md_dev */
7 int dev_offset; /* Zone offset in real dev */
8 int size; /* Zone size */
9 int nb_dev; /* Number of devices attached to the zone */
10 struct real_dev *dev[MAX_REAL]; /* Devices attached to the zone */
13 struct raid0_hash
15 struct strip_zone *zone0, *zone1;
18 struct raid0_data
20 struct raid0_hash *hash_table; /* Dynamically allocated */
21 struct strip_zone *strip_zone; /* This one too */
22 int nr_strip_zones;
23 struct strip_zone *smallest;
24 int nr_zones;
27 #endif