On Linux now fdatasync() is used insetad of fsync() in order to flush the AOF file kernel buffers

This commit is contained in:
antirez
2010-05-02 15:05:34 +02:00
parent 7aaaad5070
commit 10ce12761a
3 changed files with 12 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
#define _REDIS_FMACRO_H
#define _BSD_SOURCE
#define _XOPEN_SOURCE
#define _XOPEN_SOURCE 700
#define _LARGEFILE_SOURCE
#define _FILE_OFFSET_BITS 64