md: raid0: remove ->dev pointer from strip_zone structure
commitb414579f4573b6dc8583e31b01dcffd13f49fd62
authorNeilBrown <neilb@suse.de>
Tue, 16 Jun 2009 06:50:52 +0000 (16 16:50 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 16 Jun 2009 06:50:52 +0000 (16 16:50 +1000)
tree08358cac251421380642dac0fdeb3bc296a97232
parent49f357a22b3fa3eeac042dfa0a6cae920c174e48
md: raid0: remove ->dev pointer from strip_zone structure

If we treat conf->devlist more like a 2 dimensional array,
we can get the devlist for a particular zone simply by indexing
that array, so we don't need to store the pointers to subarrays
in strip_zone.  This makes strip_zone smaller and so (hopefully)
searches faster.

Signed-of-by: NeilBrown <neilb@suse.de>
drivers/md/raid0.c
drivers/md/raid0.h