summaryrefslogtreecommitdiff
path: root/src/bio.h
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2011-09-15 18:25:53 +0200
committerantirez <antirez@gmail.com>2011-09-15 18:25:53 +0200
commit9fc1e1b1d4613b9d95f80c64dc909a7f8defd78a (patch)
treebdd0f1f37a812cbe6e49842aedab249b8b8f3c9e /src/bio.h
parentb39a4d0b3941be82629d94dfd06f1ddc13fb260b (diff)
downloadredis-9fc1e1b1d4613b9d95f80c64dc909a7f8defd78a.tar.gz
REDIS_BIO_AOF_FSYNC implemented
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