summaryrefslogtreecommitdiff
path: root/src/bio.h
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-09-23 16:46:36 +0200
committerantirez <antirez@gmail.com>2015-10-01 13:02:25 +0200
commit9253d8507320dd1d7665a55e11e2cba3ae91c78d (patch)
tree305ccd34924ae2860cd5aec9788c3007621661fa /src/bio.h
parent4d50d691e3fa80c9b9aef5aa0498a0a92654b324 (diff)
downloadredis-9253d8507320dd1d7665a55e11e2cba3ae91c78d.tar.gz
Threaded lazyfree WIP #1.
Diffstat (limited to 'src/bio.h')
-rw-r--r--src/bio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bio.h b/src/bio.h
index eb3a2f5d8..4b15d1c4d 100644
--- a/src/bio.h
+++ b/src/bio.h
@@ -38,4 +38,5 @@ void bioKillThreads(void);
/* Background job opcodes */
#define BIO_CLOSE_FILE 0 /* Deferred close(2) syscall. */
#define BIO_AOF_FSYNC 1 /* Deferred AOF fsync. */
-#define BIO_NUM_OPS 2
+#define BIO_LAZY_FREE 2 /* Deferred objects freeing. */
+#define BIO_NUM_OPS 3