[SQU] 2.4.PRE-STABLE

From: Max V. Bouglacoff <vesemir@dont-contact.us>
Date: Mon, 15 Jan 2001 11:52:22 +0200 (EET)

  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.

  respects
---------------------------------------------
Max V. Bouglacoff <nospam-vesemir@iname.com>
Co-sysadmin, programmer of ISP "Farlep"
Odessa, Ukraine

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Jan 15 2001 - 02:57:38 MST

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