diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-04-05 19:41:22 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-04-05 19:41:22 -0400 |
| commit | 9efe21cb82b5dbe3b0b2ae4de4eccc64ecb94e95 (patch) | |
| tree | 7ff8833745d2f268f897f6fa4a27263b4a572245 /include/linux/raid/raid0.h | |
| parent | de18836e447c2dc30120c0919b8db8ddc0401cc4 (diff) | |
| parent | 0221c81b1b8eb0cbb6b30a0ced52ead32d2b4e4c (diff) | |
Merge branch 'linus' into irq/threaded
Conflicts:
include/linux/irq.h
kernel/irq/handle.c
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 | ||
