Searched refs:aof_fsync (Results 1 – 8 of 8) sorted by relevance
92 #define aof_fsync fdatasync macro94 #define aof_fsync fsync macro
210 aof_fsync(server.aof_fd); in stopAppendOnly()294 if (server.aof_fsync == AOF_FSYNC_EVERYSEC) in flushAppendOnlyFile()297 if (server.aof_fsync == AOF_FSYNC_EVERYSEC && !force) { in flushAppendOnlyFile()386 if (server.aof_fsync == AOF_FSYNC_ALWAYS) { in flushAppendOnlyFile()434 if (server.aof_fsync == AOF_FSYNC_ALWAYS) { in flushAppendOnlyFile()438 aof_fsync(server.aof_fd); /* Let's try to get this data on the disk */ in flushAppendOnlyFile()442 } else if ((server.aof_fsync == AOF_FSYNC_EVERYSEC && in flushAppendOnlyFile()1455 if (server.aof_fsync == AOF_FSYNC_ALWAYS) in backgroundRewriteDoneHandler()1456 aof_fsync(newfd); in backgroundRewriteDoneHandler()1457 else if (server.aof_fsync == AOF_FSYNC_EVERYSEC) in backgroundRewriteDoneHandler()
185 aof_fsync((long)job->arg1); in bioProcessBackgroundJobs()
406 server.aof_fsync = configEnumGetValue(aof_fsync_enum,argv[1]); in loadServerConfigFromString()407 if (server.aof_fsync == INT_MIN) { in loadServerConfigFromString()995 "appendfsync",server.aof_fsync,aof_fsync_enum) {1152 server.aof_fsync,aof_fsync_enum);1823 …rewriteConfigEnumOption(state,"appendfsync",server.aof_fsync,aof_fsync_enum,CONFIG_DEFAULT_AOF_FSY…
119 aof_fsync(fileno(r->io.file.fp)); in rioFileWrite()
445 if (advise_relax_fsync_policy && server.aof_fsync == AOF_FSYNC_ALWAYS) { in createLatencyReport()
799 int aof_fsync; /* Kind of fsync() policy */ member
1482 server.aof_fsync = CONFIG_DEFAULT_AOF_FSYNC; in initServerConfig()2579 aof_fsync(server.aof_fd); in prepareForShutdown()