summaryrefslogtreecommitdiff
path: root/src/bio.h
diff options
context:
space:
mode:
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 ebd01ee28..22a9b33e1 100644
--- a/src/bio.h
+++ b/src/bio.h
@@ -7,4 +7,5 @@ time_t bioOlderJobOfType(int type);
/* Background job opcodes */
#define REDIS_BIO_CLOSE_FILE 0 /* Deferred close(2) syscall. */
-#define REDIS_BIO_NUM_OPS 1
+#define REDIS_BIO_AOF_FSYNC 1 /* Deferred AOF fsync. */
+#define REDIS_BIO_NUM_OPS 2