Linux 3.4.102
[linux/fpc-iii.git] / drivers / md / raid0.h
blob05539d9c97f06212ad3f436585e6574557c5f962
1 #ifndef _RAID0_H
2 #define _RAID0_H
4 struct strip_zone {
5 sector_t zone_end; /* Start of the next zone (in sectors) */
6 sector_t dev_start; /* Zone offset in real dev (in sectors) */
7 int nb_dev; /* # of devices attached to the zone */
8 };
10 struct r0conf {
11 struct strip_zone *strip_zone;
12 struct md_rdev **devlist; /* lists of rdevs, pointed to
13 * by strip_zone->dev */
14 int nr_strip_zones;
15 int has_merge_bvec; /* at least one member has
16 * a merge_bvec_fn */
19 #endif