15 Commits

Author SHA1 Message Date
antirez
9f775040c8 Comment out things in bio.c that are currently not useful but that may be useful in the future. 2011-09-19 17:44:21 +02:00
antirez
01ac844ba2 use aof_fsync wrapper instead of fsync(2) in bio.c 2011-09-19 17:44:11 +02:00
antirez
3ae56d8458 REDIS_BIO_AOF_FSYNC implemented 2011-09-19 17:43:34 +02:00
antirez
0807f5b9ff fixed a problem in bioOlderJobType() when there are no jobs of the specified type. Now the function returns 0 when this happens. 2011-09-19 17:43:28 +02:00
antirez
2eae7cbc7d some more comment about bio.c design 2011-09-19 17:43:23 +02:00
antirez
693618f1c1 Remove backgroud jobs from the queue only when the processing was completed, and not just started. 2011-09-19 17:43:19 +02:00
antirez
c67e8d3bf6 Use a different thread for every different type of background job 2011-09-19 17:43:13 +02:00
antirez
411cb75bcd Better comments for bioWaitPendingJobsLE 2011-09-19 17:43:07 +02:00
antirez
794419192e Background I/O library enhanced so that the main thread can query for the number of pending jobs of the specified type. 2011-09-19 17:43:01 +02:00
antirez
44690ab15f make bio_list static as well 2011-09-14 10:50:29 +02:00
antirez
a72c0423b4 debug message removed 2011-09-14 10:50:22 +02:00
antirez
c8d0013f38 use pthread_cond_signal() to make sure the background thread will process the job. 2011-09-14 10:47:53 +02:00
antirez
5ca75751ed typo fixed in bio.c 2011-09-14 10:47:48 +02:00
antirez
ed56ad5689 bio.c typos fixes to make it compile 2011-09-14 10:47:26 +02:00
antirez
c427f5d3c1 bio.o added to redis-server objects 2011-09-14 10:47:19 +02:00