/*
- * $Id: cache_cf.cc,v 1.233 1997/11/13 02:32:37 wessels Exp $
+ * $Id: cache_cf.cc,v 1.234 1997/11/23 06:48:39 wessels Exp $
*
* DEBUG: section 3 Configuration File Parsing
* AUTHOR: Harvest Derived
tmp = swap->swapDirs + i;
if (!strcmp(path, tmp->path)) {
/* just reconfigure it */
+ if (size == tmp->max_size)
+ debug(3,1)("Cache dir '%s' size remains unchanged at %d MB\n",
+ path, size);
+ else
+ debug(3,1)("Cache dir '%s' size changed to %d MB\n",
+ path, size);
tmp->max_size = size;
+ if (tmp->read_only != readonly)
+ debug(3,1)("Cache dir '%s' now %s\n",
+ readonly ? "Read-Only" : "Read-Write");
tmp->read_only = readonly;
return;
}
{
SwapDir *s;
int i;
+ /* DON'T FREE THESE FOR RECONFIGURE */
+ if (reconfigure_pending)
+ return;
for (i = 0; i < swap->n_configured; i++) {
s = swap->swapDirs + i;
if (s->swaplog_fd > -1) {