]> bbs.cooldavid.org Git - net-next-2.6.git/commit
md: raid0: Remove hash spacing and sector shift.
authorAndre Noll <maan@systemlinux.org>
Tue, 16 Jun 2009 06:47:10 +0000 (16:47 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 16 Jun 2009 06:47:10 +0000 (16:47 +1000)
commit8f79cfcdb65472f1504ade2f53e5f2bfdaeb95da
tree381814b9d62a338156ada3fbd92daca908c724eb
parent09770e0b6ee649313611a2d6a9b44f456072dbd6
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>
drivers/md/raid0.c
drivers/md/raid0.h