summaryrefslogtreecommitdiff
path: root/src/bio.c
diff options
context:
space:
mode:
authorzhaozhao.zz <zhaozhao.zz@alibaba-inc.com>2018-03-16 00:44:50 +0800
committerzhaozhao.zz <zhaozhao.zz@alibaba-inc.com>2018-03-16 00:44:50 +0800
commit54cae05ea736340b4afe463eb750f5acdfe07590 (patch)
tree1f872323ee3fd079ee5b131ac77b33c261a5fd75 /src/bio.c
parent84b281209a653f8afe5b106ab44d8339fd798823 (diff)
downloadredis-54cae05ea736340b4afe463eb750f5acdfe07590.tar.gz
rdb: incremental fsync when redis saves rdb
Diffstat (limited to 'src/bio.c')
-rw-r--r--src/bio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bio.c b/src/bio.c
index da11f7b86..0c92d053b 100644
--- a/src/bio.c
+++ b/src/bio.c
@@ -187,7 +187,7 @@ void *bioProcessBackgroundJobs(void *arg) {
if (type == BIO_CLOSE_FILE) {
close((long)job->arg1);
} else if (type == BIO_AOF_FSYNC) {
- aof_fsync((long)job->arg1);
+ redis_fsync((long)job->arg1);
} else if (type == BIO_LAZY_FREE) {
/* What we free changes depending on what arguments are set:
* arg1 -> free the object at pointer.