Return true if an AOf fsync is currently already in progress in a * BIO thread. */
| 215 | /* Return true if an AOf fsync is currently already in progress in a |
| 216 | * BIO thread. */ |
| 217 | int aofFsyncInProgress(void) { |
| 218 | return bioPendingJobsOfType(BIO_AOF_FSYNC) != 0; |
| 219 | } |
| 220 | |
| 221 | /* Starts a background task that performs fsync() against the specified |
| 222 | * file descriptor (the one of the AOF file) in another thread. */ |
no test coverage detected