Chengdu Huang wrote:
> This means every time we have a new swapoutable copy of a StoreEntry,
> it will be swapped out to a different swap file.
Yes.
> And I guess the old
> swap file of this StoreEntry will be removed by the disk space
> maintenance routine. Is that right?
Actually a little before that. Squid deletes the file when the last
reference to the old object is gone.
> I can imagine that this can avoid some race condition for simultaneous
> client requests, but wanna check with Squid vets here to make sure.
Squid knows if there is clients currently reading the (possibly old)
object, and it won't be deleted in such case until those clients are
done.
Regards
Henrik
Received on Thu Mar 27 2003 - 15:06:48 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:35 MST