Rework cache flushing logic--this version should work much better.
[bluesky.git] / bluesky / init.c
index eb2515c..520ed57 100644 (file)
@@ -32,6 +32,10 @@ int bluesky_watermark_low_dirty    = (64 << 20) / BLUESKY_BLOCK_SIZE;
 int bluesky_watermark_medium_dirty = (96 << 20) / BLUESKY_BLOCK_SIZE;
 int bluesky_watermark_high_dirty   = (192 << 20) / BLUESKY_BLOCK_SIZE;
 
+int bluesky_watermark_low_total    = (64 << 20) / BLUESKY_BLOCK_SIZE;
+int bluesky_watermark_medium_total = (128 << 20) / BLUESKY_BLOCK_SIZE;
+int bluesky_watermark_high_total   = (256 << 20) / BLUESKY_BLOCK_SIZE;
+
 /* Environment variables that can be used to initialize settings. */
 static struct {
     const char *env;