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

From: OTR Comm <otrcomm@dont-contact.us>
Date: Mon, 01 Nov 2004 16:56:04 -0700

>
> 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
Received on Mon Nov 01 2004 - 17:01:28 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:01 MST