diff options
author | zhaozhao.zz <zhaozhao.zz@alibaba-inc.com> | 2018-03-16 00:44:50 +0800 |
---|---|---|
committer | zhaozhao.zz <zhaozhao.zz@alibaba-inc.com> | 2018-03-16 00:44:50 +0800 |
commit | 54cae05ea736340b4afe463eb750f5acdfe07590 (patch) | |
tree | 1f872323ee3fd079ee5b131ac77b33c261a5fd75 /src/bio.c | |
parent | 84b281209a653f8afe5b106ab44d8339fd798823 (diff) | |
download | redis-54cae05ea736340b4afe463eb750f5acdfe07590.tar.gz |
rdb: incremental fsync when redis saves rdb
Diffstat (limited to 'src/bio.c')
-rw-r--r-- | src/bio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |