On Mon, Jan 15, 2001, Max V. Bouglacoff wrote:
>
> Hi,
>
> 2.4.PRE-STABLE doesn't compile with `--disable-unlinkd' and
> `diskd' enabled. I wonder why ``diskd'' still uses `unlinkd'
> daemon.
>
> Loking into src/fs/diskd/store_dir_diskd.c I've found this:
> =================
> /*
> * storeDiskdDirUnlinkFile
> *
> * This is a *synchronous* unlink which is currently used in the rebuild
> * process. This is bad, but it'll have to stay until the dir rebuild
> * uses storeDiskdUnlink() ..
> */
> void
> storeDiskdDirUnlinkFile(SwapDir * SD, sfileno f)
> {
> debug(79, 3) ("storeDiskdDirUnlinkFile: unlinking fileno %08X\n", f);
> /* storeDiskdDirMapBitReset(SD, f); */
> unlinkdUnlink(storeDiskdDirFullPath(SD, f, NULL));
> }
> ================
>
> so `diskd' uses `unlinkd' anyway.
Only during the rebuild process - the async IO ops aren't used during
rebuild.
Is there any specific reason you want to disable unlinkd whilst using
diskd?
Adrian
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Mon Jan 15 2001 - 03:08:53 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:27 MST