Linux Audio

Check our new training course

Loading...
v3.1
 1#ifndef _RAID0_H
 2#define _RAID0_H
 3
 4struct strip_zone
 5{
 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	int nb_dev;		/* # of devices attached to the zone */
 9};
10
11struct raid0_private_data
12{
13	struct strip_zone *strip_zone;
14	mdk_rdev_t **devlist; /* lists of rdevs, pointed to by strip_zone->dev */
15	int nr_strip_zones;
 
 
16};
17
18typedef struct raid0_private_data raid0_conf_t;
19
20#endif
v3.15
 1#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	int			has_merge_bvec;	/* at least one member has
16						 * a merge_bvec_fn */
17};
 
 
18
19#endif