1
2 #ifndef _RAID0_H
3 #define _RAID0_H
4
5 struct strip_zone
6 {
7 int zone_offset;
8 int dev_offset;
9 int size;
10 int nb_dev;
11 struct real_dev *dev[MAX_REAL];
12 };
13
14 struct raid0_hash
15 {
16 struct strip_zone *zone0, *zone1;
17 };
18
19 struct raid0_data
20 {
21 struct raid0_hash *hash_table;
22 struct strip_zone *strip_zone;
23 int nr_strip_zones;
24 struct strip_zone *smallest;
25 int nr_zones;
26 };
27
28 #endif
29
30 #ifndef _RAID0_H
31 #define _RAID0_H
32
33 struct strip_zone
34 {
35 int zone_offset;
36 int dev_offset;
37 int size;
38 int nb_dev;
39 struct real_dev *dev[MAX_REAL];
40 };
41
42 struct raid0_hash
43 {
44 struct strip_zone *zone0, *zone1;
45 };
46
47 struct raid0_data
48 {
49 struct raid0_hash *hash_table;
50 struct strip_zone *strip_zone;
51 int nr_strip_zones;
52 struct strip_zone *smallest;
53 int nr_zones;
54 };
55
56 #endif