aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid0.h
diff options
context:
space:
mode:
authorAndre Noll <maan@systemlinux.org>2009-06-16 02:47:10 -0400
committerNeilBrown <neilb@suse.de>2009-06-16 02:47:10 -0400
commit8f79cfcdb65472f1504ade2f53e5f2bfdaeb95da (patch)
tree381814b9d62a338156ada3fbd92daca908c724eb /drivers/md/raid0.h
parent09770e0b6ee649313611a2d6a9b44f456072dbd6 (diff)
md: raid0: Remove hash spacing and sector shift.
The "sector_shift" and "spacing" fields of struct raid0_private_data were only used for the hash table lookups. So the removal of the hash table allows get rid of these fields as well which simplifies create_strip_zones() and raid0_run() quite a bit. Signed-off-by: Andre Noll <maan@systemlinux.org> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid0.h')
-rw-r--r--drivers/md/raid0.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/md/raid0.h b/drivers/md/raid0.h
index a14630a25aa4..dbcf1da916b7 100644
--- a/drivers/md/raid0.h
+++ b/drivers/md/raid0.h
@@ -15,9 +15,6 @@ struct raid0_private_data
15 struct strip_zone *strip_zone; 15 struct strip_zone *strip_zone;
16 mdk_rdev_t **devlist; /* lists of rdevs, pointed to by strip_zone->dev */ 16 mdk_rdev_t **devlist; /* lists of rdevs, pointed to by strip_zone->dev */
17 int nr_strip_zones; 17 int nr_strip_zones;
18
19 sector_t spacing;
20 int sector_shift; /* shift this before divide by spacing */
21}; 18};
22 19
23typedef struct raid0_private_data raid0_conf_t; 20typedef struct raid0_private_data raid0_conf_t;