MCPcopy Create free account
hub / github.com/F-Stack/f-stack / aofFsyncInProgress

Function aofFsyncInProgress

app/redis-6.2.6/src/aof.c:204–206  ·  view source on GitHub ↗

Return true if an AOf fsync is currently already in progress in a * BIO thread. */

Source from the content-addressed store, hash-verified

202/* Return true if an AOf fsync is currently already in progress in a
203 * BIO thread. */
204int aofFsyncInProgress(void) {
205 return bioPendingJobsOfType(BIO_AOF_FSYNC) != 0;
206}
207
208/* Starts a background task that performs fsync() against the specified
209 * file descriptor (the one of the AOF file) in another thread. */

Callers 1

flushAppendOnlyFileFunction · 0.85

Calls 1

bioPendingJobsOfTypeFunction · 0.85

Tested by

no test coverage detected