Thanks, Henrik pal!
I think disk_io_pending is used to control that more than one
disk read/write events can not perfrom one the same store_client
at the same time. If one event is doing, the another must wait
and using AddEvent to handle it. Am I correct?
Best regards,
George Ma
----- Original Message -----
From: Henrik Nordstrom
To: maer727@sohu.com
Cc: squid-dev@squid-cache.org
Subject: Re: Sorry for interrupting again
Sent: Sat Apr 20 23:57:42 CST 2002
> Both are just minor variants of "doing".
>
> Regards
> Henrik
>
>
> On Saturday 20 April 2002 16:33, maer727@sohu.com wrote:
> > Thanks, Henrik pal!
> >
> > I take some more time look at the codes, I still puzzled about
> > the meaning of the two words, "pending something" and "doing
> > something". For example, store_copying and copy_event_pending. I
> > think the former means the copy event is doing now, the latter
> > means for some reason, the copy event can not continue. Am I
> > correct?
> >
> > If I am not correct? Can you give me a simple explanation?
> >
> > I still have a question, I think disk_io_pending means for some
> > reason the disk can not be read/written. Am I corrrect? But, how
> > can this case happen? Can you give me a simple example in Squid?
>
> It means there is disk I/O needing to get done.
>
> Regards
> Henrik
Received on Sat Apr 20 2002 - 21:10:29 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:16 MST