diff options
| author | Christoph Hellwig <hch@lst.de> | 2009-03-30 23:27:03 -0400 |
|---|---|---|
| committer | NeilBrown <neilb@suse.de> | 2009-03-30 23:27:03 -0400 |
| commit | ef740c372dfd80e706dbf955d4e4aedda6c0c148 (patch) | |
| tree | 8d9ef9db346ee1ba319a125c9de83cdde049510d /include/linux/raid/raid0.h | |
| parent | 2a40a8aed083d988df6822bb9b1b08fb7ce21e1d (diff) | |
md: move headers out of include/linux/raid/
Move the headers with the local structures for the disciplines and
bitmap.h into drivers/md/ so that they are more easily grepable for
hacking and not far away. md.h is left where it is for now as there
are some uses from the outside.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'include/linux/raid/raid0.h')
| -rw-r--r-- | include/linux/raid/raid0.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/linux/raid/raid0.h b/include/linux/raid/raid0.h deleted file mode 100644 index fd42aa87c391..000000000000 --- a/include/linux/raid/raid0.h +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | #ifndef _RAID0_H | ||
| 2 | #define _RAID0_H | ||
| 3 | |||
| 4 | #include <linux/raid/md.h> | ||
| 5 | |||
| 6 | struct strip_zone | ||
| 7 | { | ||
| 8 | sector_t zone_start; /* Zone offset in md_dev (in sectors) */ | ||
| 9 | sector_t dev_start; /* Zone offset in real dev (in sectors) */ | ||
| 10 | sector_t sectors; /* Zone size in sectors */ | ||
| 11 | int nb_dev; /* # of devices attached to the zone */ | ||
| 12 | mdk_rdev_t **dev; /* Devices attached to the zone */ | ||
| 13 | }; | ||
| 14 | |||
| 15 | struct raid0_private_data | ||
| 16 | { | ||
| 17 | struct strip_zone **hash_table; /* Table of indexes into strip_zone */ | ||
| 18 | struct strip_zone *strip_zone; | ||
| 19 | mdk_rdev_t **devlist; /* lists of rdevs, pointed to by strip_zone->dev */ | ||
| 20 | int nr_strip_zones; | ||
| 21 | |||
| 22 | sector_t spacing; | ||
| 23 | int sector_shift; /* shift this before divide by spacing */ | ||
| 24 | }; | ||
| 25 | |||
| 26 | typedef struct raid0_private_data raid0_conf_t; | ||
| 27 | |||
| 28 | #define mddev_to_conf(mddev) ((raid0_conf_t *) mddev->private) | ||
| 29 | |||
| 30 | #endif | ||
