Thanks, Henrik pal!
Your reply helps a lot. :-)
Best regards,
George, Ma
----- 原文 -----
From: Henrik Nordstrom
To: maer727@sohu.com
Cc: squid-dev@squid-cache.org
Subject: Re: Contradiction in storeCreateEntry?
Sent: Tue Apr 16 22:16:26 CST 2002
> Because there is not yet an object associated with the StoreEntry, neither in
> memory or on disk.
>
> I don't think this flag is actually used for anything useful other than being
> printed in cachemgr and to assert that the code path is correct. The code
> accessing StoreEntry mainly uses the ->mem_obj entry to tell if there is a
> memory copy or not.
>
> Regards
> Henrik
>
>
> maer727@sohu.com wrote:
> > Hi, pals!
> >
> > Look at this line taken from "storeCreateEntry",
> > storeSetMemStatus(e, NOT_IN_MEMORY);
> >
> > IMHO, a newly created object should be kept in memory
> > and not kept in disk. Why assign "NOT_IN_MEMORY"
> > to a missed but newly created cached object?
> >
> > I think the newly created object should be kept in memory.
> >
> > Best regards,
> > George, Ma
Received on Tue Apr 16 2002 - 08:20:47 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:11 MST