mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 03:21:32 +00:00
3cb0300200
The typedefs are just annoying. 'mdk' probably refers to 'md_k.h' which used to be an include file that defined this thing. Signed-off-by: NeilBrown <neilb@suse.de>
21 lines
459 B
C
21 lines
459 B
C
#ifndef _RAID0_H
|
|
#define _RAID0_H
|
|
|
|
struct strip_zone
|
|
{
|
|
sector_t zone_end; /* Start of the next zone (in sectors) */
|
|
sector_t dev_start; /* Zone offset in real dev (in sectors) */
|
|
int nb_dev; /* # of devices attached to the zone */
|
|
};
|
|
|
|
struct raid0_private_data
|
|
{
|
|
struct strip_zone *strip_zone;
|
|
struct md_rdev **devlist; /* lists of rdevs, pointed to by strip_zone->dev */
|
|
int nr_strip_zones;
|
|
};
|
|
|
|
typedef struct raid0_private_data raid0_conf_t;
|
|
|
|
#endif
|