summaryrefslogtreecommitdiff
path: root/src/rio.c
Commit message (Collapse)AuthorAgeFilesLines
* Use fflush() before fsync() in rio.c.antirez2014-01-221-0/+1
| | | | | | | | | | | Incremental flushing in rio.c is only used to avoid huge kernel buffers synched to slow disks creating big latency spikes, so this fix has no durability implications, however it is certainly more correct to make sure that the FILE buffers are flushed to the kernel before calling fsync on the file descriptor. Thanks to Li Shao Kai for reporting this issue in the Redis mailing list.
* Chunked loading of RDB to prevent redis from stalling reading very large keys.yoav2013-07-161-0/+4
|
* rio.c: added ability to fdatasync() from time to time while writing.antirez2013-04-241-1/+30
|
* Introduced the Build ID in INFO and --version output.antirez2012-11-291-2/+1
| | | | | | | The idea is to be able to identify a build in a unique way, so for instance after a bug report we can recognize that the build is the one of a popular Linux distribution and perform the debugging in the same environment.
* BSD license added to every C source and header file.antirez2012-11-081-3/+36
|
* Fixed compilation of new rio.c changes (typos and so forth.)antirez2012-04-091-1/+3
|
* Add checksum computation to rio.cantirez2012-04-091-0/+10
|
* rio.c file somewhat documented so that the casual reader can understand ↵antirez2012-04-091-0/+18
| | | | what's going on without reading the code.
* Fixed a few warnings compiling on Linux.antirez2011-10-231-0/+2
|
* rioInitWithFile nad rioInitWithBuffer functions now take a rio structure ↵antirez2011-09-221-9/+8
| | | | pointer to avoid copying a structure to return value to the caller.
* make sure to return just 1 for rio.c write when the target is a buffer, as ↵antirez2011-09-221-2/+2
| | | | we do when the target is a file.
* Abstract file/buffer I/O to support in-memory serializationPieter Noordhuis2011-05-131-0/+106