fsync always now uses O_DIRECT on Linux

This commit is contained in:
antirez
2010-04-20 18:25:30 +02:00
parent d3277ecd92
commit 566c3c7a22
2 changed files with 15 additions and 1 deletions

View File

@ -35,4 +35,9 @@
#define HAVE_KQUEUE 1
#endif
/* test for O_DIRECT */
#ifdef __linux__
#define HAVE_O_DIRECT 1
#endif
#endif