Re: [PATCH] md: raid0: Replace hash table lookup by looping over all strip_zones.

Andre Noll
2009-05-15T13:18:05Z

[-- Attachment #1: Type: text/plain, Size: 596 bytes --]

On 06:38, NeilBrown wrote:

> I was thinking further about this and realised that in the first zone,
> zone_start is always 0. And we added a sentinal zone for which only
> the zone_start value is set. This seems silly.

Yes, it is.

> Instead we can just store 'zone_end' in each zone (or possibly
> start_of_next_zone) and then we don't need the sentinal and don't waste
> the zone_start at the beginning.

That's what I did in the new version of the patch set. I'll send it out
shortly.

Andre
--
The only person who always got his work done by Friday was Robinson Crusoe

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]