/*
- * $Id: store.cc,v 1.515 2000/03/06 16:23:35 wessels Exp $
+ * $Id: store.cc,v 1.516 2000/03/09 04:50:13 wessels Exp $
*
* DEBUG: section 20 Storage Manager
* AUTHOR: Harvest Derived
if (ndir >= Config.cacheSwap.n_configured)
ndir = ndir % Config.cacheSwap.n_configured;
sd = &Config.cacheSwap.swapDirs[ndir++];
- if (sd->cur_size < sd->high_size)
+ if (sd->cur_size < sd->low_size)
continue;
if (NULL == sd->lru_walker)
continue;
/*
- * $Id: store_dir.cc,v 1.105 2000/03/06 16:23:35 wessels Exp $
+ * $Id: store_dir.cc,v 1.106 2000/03/09 04:50:13 wessels Exp $
*
* DEBUG: section 47 Store Directory Routines
* AUTHOR: Duane Wessels
Config.Swap.maxSize += SD->max_size;
if (NULL == SD->map)
SD->map = file_map_create();
- SD->high_size = (int) (((float) SD->max_size *
- (float) Config.Swap.highWaterMark) / 100.0);
+ SD->low_size = (int) (((float) SD->max_size *
+ (float) Config.Swap.lowWaterMark) / 100.0);
}
}
/*
- * $Id: structs.h,v 1.313 2000/03/06 16:23:36 wessels Exp $
+ * $Id: structs.h,v 1.314 2000/03/09 04:50:14 wessels Exp $
*
*
* SQUID Internet Object Cache http://squid.nlanr.net/Squid/
swapdir_t type;
fileMap *map;
int cur_size;
- int high_size;
+ int low_size;
int max_size;
char *path;
int index; /* This entry's index into the swapDirs array */