Re: Store Swap File Name

From: Duane Wessels <wessels@dont-contact.us>
Date: Wed, 09 Jun 1999 23:15:52 -0600

Hamid,

Your message did not make it to the squid-dev list because
our maillist software rejects messages sent by "root"

        Sender: root@peik.bol.sharif.ac.ir
        From: Hamid Reza Shahriari <shahriar@bol.sharif.ac.ir>
        X-Diagnostic: Mail coming from a daemon, ignored

>Hi,
> How can swap file name is determined? I saw that ctrlp->swapfilename
>is determined using swap_flie_number. It seems that there is no relation
>between swap_flie_number and MD5 key of URL, Is this correct?
>How is swap_flie_number determined?
>First one of cache directories is selected, but I don't know what does
>file_map_allocate() exactly.

Each cache_dir has its own filemap. First we select a cache_dir,
then we select a file number within that cache_dir.

see storeDirMapAllocate() in src/store_dir.c

Duane W.
Received on Tue Jul 29 2003 - 13:15:58 MDT

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