Re:Re: Puzzled at swap_filen in storeSetPrivateKey. :-(

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 22 Apr 2002 22:24:54 +0200

"not mutually exclusive" means that one do not exclude the other.

A object can be

* Nowhere (not data yet known)
* In memory
* On disk
* Both in memory and on disk
(and while it is being stored partially in memory, partially on disk)

Regards
Henrik

maer727@sohu.com wrote:
> Thanks, Henrik pal!
>
> What means "mutally" in your reply?
>
> Best regards,
> George Ma
>
> ----- Original Message -----
> From: Henrik Nordstrom
> To: maer727@sohu.com ;squid-dev@squid-cache.org
> Cc: squid-dev@squid-cache.org
> Subject: Re: Puzzled at swap_filen in storeSetPrivateKey. :-(
> Sent: Sun Apr 21 22:23:07 CST 2002
>
> > Correct. It means that at least part of the object has been swapped
> > out to disk. May still exists in memory however.. (the two are not
> > mutally exclusive)
> >
> > Regards
> > Henrik
> >
> > On Sunday 21 April 2002 14:52, maer727@sohu.com wrote:
> > > Hi, pals!
> > >
> > > Look at the statements in storeSetPrivateKey,
> > >
> > > if (e->hash.key) {
> > > if (e->swap_filen > -1)
> > > storeDirSwapLog(e, SWAP_LOG_DEL);
> > > storeHashDelete(e);
> > >
> > > I search for some source files with swap_filen and find my
> > > opinion. I think when the swap_filen of StoreEntry is > -1,
> > > it means that it is swapped out and on the disk ( not in memory).
> > > Am I correct?
> > >
> > > Best regards,
> > > George Ma
Received on Mon Apr 22 2002 - 14:25:02 MDT

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