]> git.saurik.com Git - redis.git/blobdiff - src/redis.c
implemented a different approach to IO scheduling, so object->storage is no longer...
[redis.git] / src / redis.c
index 65cf3ace9c045b1fbcffa6347aba51f37dc87626..9d7cc92d20de379c39c8bd5e577eb12e1bc6775a 100644 (file)
@@ -826,7 +826,7 @@ void initServer() {
     server.slaves = listCreate();
     server.monitors = listCreate();
     server.unblocked_clients = listCreate();
-    server.cache_flush_queue = listCreate();
+    server.cache_io_queue = listCreate();
     server.cache_flush_delay = 0;
 
     createSharedObjects();
@@ -857,6 +857,7 @@ void initServer() {
         if (server.ds_enabled) {
             server.db[j].io_keys = dictCreate(&keylistDictType,NULL);
             server.db[j].io_negcache = dictCreate(&setDictType,NULL);
+            server.db[j].io_queued = dictCreate(&setDictType,NULL);
         }
         server.db[j].id = j;
     }