commit | 49f357a22b3fa3eeac042dfa0a6cae920c174e48 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Tue Jun 16 16:50:35 2009 +1000 |
committer | NeilBrown <neilb@suse.de> | Tue Jun 16 16:50:35 2009 +1000 |
tree | 55d90a158e990ea38c2487167c3d9a4f7f7943cf | |
parent | fb5ab4b5d6e16fd5006c9f800d0116f3547cb760 [diff] |
md: raid0: remove ->sectors from the strip_zone structure. storing ->sectors is redundant as is can be computed from the difference z->zone_end - (z-1)->zone_end The one place where it is used, it is just as efficient to use a zone_end value instead. And removing it makes strip_zone smaller, so they array of these that is searched on every request has a better chance to say in cache. So discard the field and get the value from elsewhere. Signed-off-by: NeilBrown <neilb@suse.de>