Re:Re: Re:Re: Sorry for interrupting again

From: <maer727@dont-contact.us>
Date: Sun, 21 Apr 2002 22:05:59 +0800 (CST)

Thanks, David pal!

In function InvokeHandlers, there is a flag disk_io_pending. I use
grep -C to find the locations where the source files are
using the flag. I also compare disk_io_pending with
copy_event_pending. I think when dealing with memory,
we use the flag copy_event_pending, when dealing with the
disk, we use the flag disk_io_pending. IMHO So, we can not
use disk_io_pending when dealing with memory and can not use
copy_event_pending when dealing with disk. But it seems like
sometimes copy_event_pending can also be used in disk case. maybe.

But I am not very sure about it. :-)

Am I correct? Can you give me a simple explanation about the two
flags. What is the difference between them? They are both "pending"
flags and similar. They puzzle me a lot. :-)

Best regards,
George Ma

----- Original Message -----
From: David Luyer
To: maer727@sohu.com
Cc: squid-dev@squid-cache.org
Subject: Re: Re:Re: Sorry for interrupting again
Sent: Sun Apr 21 21:50:15 CST 2002

> > For example, I think copy_event_pending means for some reason
> > we can not copying now and the copying task will be execute in
> > future.
> >
> > And store_copying means we are copying.
> > (copy_event_pending and store_copying are members of storeclient.flag)
> >
> > Am I correct?
>
> AFAIK copy_event_pending means we haven't started yet, possibly because we
> don't need to and possibly because we don't have enough data to make it
> worthwhile yet, for example.
>
> David.
>
Received on Sun Apr 21 2002 - 08:05:58 MDT

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