blob: 7127a623f5da2d4e5592270ee9291b9820efea81 [file] [log] [blame]
Kyle Swenson8d8f6542021-03-15 11:02:55 -06001#ifndef _RAID0_H
2#define _RAID0_H
3
4struct 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};
9
10struct 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};
16
17#endif