Robert Collins wrote:
>
> I was planning on a readdir() style approach anyway. I have seen swap.state
> situations where files aren't in the log and after a rebuild just aren't
> seen by squid. The rebuild swap from disk routine checks this anyway.
Sounds like a good idea. The only problem is locating the swapentries
"the wrong way". For a large cache locating a swapentry by file number
is a very expensive task as there is no index covering that direction.
There are only two indexes to the store entries:
a) MD5 hash
b) Removal policy
/Henrik
Received on Wed Dec 13 2000 - 09:57:54 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:04 MST