Re: post modio

From: Adrian Chadd <adrian@dont-contact.us>
Date: Thu, 25 May 2000 16:46:03 +0800

On Mon, May 22, 2000, Adrian Chadd wrote:

> > - SD->callback returns 1 if it did some work (processed
> > an I/O event).
> > - SD->callback also returns 1 if its "queue" is full.
> > Thus, we stay in the do loop if any one of the dirs
> > needs to be "drained."
> > - The 'ndir' weirdness cycles the starting dir, so it
> > doesn't always start with #0.
>
> Neat. Ok, I will do the grunt work and commit this change to modio and test
> it out over the next day.
>

Ok, the patch is at http://www.creative.net.au/squid/patches/
Its named squid-callback.diff . There are some other fixes in there,
specifically a fix in the aioUnlink() routine to check for a NULL
callback pointer, and some fixes relating to how the filemap
code is used.

There seems to be a definite storage manager bug when swapping in
so I'll fix that next.

I'll look to commit the code in the next couple of days.

Adrian

-- 
Adrian Chadd			Build a man a fire, and he's warm for the
<adrian@creative.net.au>	rest of the evening. Set a man on fire and
				he's warm for the rest of his life.
Received on Thu May 25 2000 - 02:46:13 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:26 MST