Re: [squid-users] store.log, store_log.c, storeLog() question

2004-11-03 Thread Henrik Nordstrom

On Tue, 2 Nov 2004, OTR Comm wrote:
Which version of Squid is this based on?
2.5.STABLE5-CVS
Then you MUST have a src/fs/ufs/ directory where the mentioned file is.
Regards
Henrik


Re: [squid-users] store.log, store_log.c, storeLog() question

2004-11-02 Thread Henrik Nordstrom

On Mon, 1 Nov 2004, OTR Comm wrote:
I have store_dir.c in the pushcache patch, but not store_dir_ufs.c.
Which version of Squid is this based on?
Regards
Henrik


Re: [squid-users] store.log, store_log.c, storeLog() question

2004-11-02 Thread OTR Comm

 Which version of Squid is this based on?

2.5.STABLE5-CVS

Thanks,
Murrah Boswell


Re: [squid-users] store.log, store_log.c, storeLog() question

2004-11-01 Thread OTR Comm

 
 See fs/ufs/store_dir_ufs.c

I have store_dir.c in the pushcache patch, but not store_dir_ufs.c.

 
  I see in storeLog() where e-swap_dirn and e-swap_filen are written to
  store.log, but e-swap_dirn doesn't give me the directory/subdirectory.
 
 swap_filen gives you the cache file number, which is directly mapped to
 director/subdirectory by the L1 / L2 parameters of the ufs/aufs/diskd
 store implementations.

I don't see where in store_dir.c squid determines which cache directory
and subdirectory to store a given cache file in.

Could you help me a little more here?

Thanks,
Murrah Boswell


Re: [squid-users] store.log, store_log.c, storeLog() question

2004-10-31 Thread Henrik Nordstrom
On Fri, 29 Oct 2004, OTR Comm wrote:
Where is it that squid determines the cache directory, subdirectory, and
filename to store a cache file?
See fs/ufs/store_dir_ufs.c
I see in storeLog() where e-swap_dirn and e-swap_filen are written to
store.log, but e-swap_dirn doesn't give me the directory/subdirectory.
swap_filen gives you the cache file number, which is directly mapped to 
director/subdirectory by the L1 / L2 parameters of the ufs/aufs/diskd 
store implementations.

other implementations may map differently. For example the experimental 
coss store maps this to offset in the cache. (there is not 
directories/subdirectories in COSS)

Regards
Henrik


[squid-users] store.log, store_log.c, storeLog() question

2004-10-29 Thread OTR Comm
Hello,

Where is it that squid determines the cache directory, subdirectory, and
filename to store a cache file?

I see in storeLog() where e-swap_dirn and e-swap_filen are written to
store.log, but e-swap_dirn doesn't give me the directory/subdirectory.

I guess it is in either store.c, store_client.c, store_swapout.c, or
store_dir.c, but I can't find where.  Could someone help me with this
please?

I need to know the path from '/var/cache' to any given cache file for
another system that I am working on that interfaces to the pushcache
patch for squid.  I would like to be able to get at this from within
store_log.c if possible, but need more info than e-swap_dirn gives.  Is
there possibly some way to get at var/cache/directory/subdirectory in
storeLog()?

Thanks,
Murrah Boswell