02925dd9 |
1 | /* Exported API */ |
2 | void bioInit(void); |
50be9b97 |
3 | void bioCreateBackgroundJob(int type, void *arg1, void *arg2, void *arg3); |
fde4e4c4 |
4 | unsigned long long bioPendingJobsOfType(int type); |
5 | void bioWaitPendingJobsLE(int type, unsigned long long num); |
50be9b97 |
6 | time_t bioOlderJobOfType(int type); |
02925dd9 |
7 | |
8 | /* Background job opcodes */ |
50be9b97 |
9 | #define REDIS_BIO_CLOSE_FILE 0 /* Deferred close(2) syscall. */ |
9fc1e1b1 |
10 | #define REDIS_BIO_AOF_FSYNC 1 /* Deferred AOF fsync. */ |
11 | #define REDIS_BIO_NUM_OPS 2 |