summaryrefslogtreecommitdiff
path: root/src/journal/journal-file.c
AgeCommit message (Collapse)Author
2012-05-22Fixed handling of posix_fallocate() returned valueGuillermo Vidal
According to the man pages of posix_fallocate, it returns zero on success or an error number on failure; however, errno is not set on failure. If the kernel or a library other than glibc does not support the function for example, EOPNOTSUPP will be returned and the error will not be handled properly with original code.
2012-04-13fix a couple of things found with the llvm static analyzerLennart Poettering
2012-04-12relicense to LGPLv2.1 (with exceptions)Lennart Poettering
We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
2012-04-02journal: decrease default mmap window size to allow a bigger number of ↵Lennart Poettering
journals to be traversed in parallel
2012-03-22add sparse support to detect endianness bugFrederic Crozat
le16/32/64_t type should be used when storing little-endian value header to integrate with sparse from Josh Triplett <josh@joshtriplett.org>
2012-03-21journal: react with immediate rotation to a couple of more errorsLennart Poettering
2012-03-15man: document systemd-journald.conf(5)Lennart Poettering
2012-03-15journal: only use uint8_t for stateFrederic Crozat
2012-03-15journald: be a bit more verboseLennart Poettering
2012-03-15journald: fix calculation of disk spaceLennart Poettering
2012-03-15journald: copy metrics/compression state from template when rotatingLennart Poettering
2012-03-15journald: increase max file size to 128MBLennart Poettering
2012-03-15journal: vacuum corrupted files, tooLennart Poettering
2012-03-15journal: if we encounter a corrupted file, rotate and go onLennart Poettering
2012-03-06journal: make sure to refresh window position and pointer after we linked up ↵Lennart Poettering
a data object
2012-03-05journal: fix endianness errorsFrederic Crozat
2012-02-29systemd-journald: fix endianess bugDirk Eibach
2012-01-31journal: increase compression threshold for objects from 64 to 512Lennart Poettering
Apparently the perfomance price for compression is to steep to apply it for all objects >= 64 and < 512 in size, as measured by Arjan Van De Ven, hence increase the threshold to 512 which yields better results.
2012-01-14util: introduce FORMAT_BYTES_MAXLennart Poettering
2012-01-11journal: fix more 32/64 bit issuesLennart Poettering
2012-01-11journald: don't assume size_t and uint64_t are the sameLennart Poettering
2012-01-11journal: don't realign window twiceLennart Poettering
2012-01-07journald: remove inner loop debug messageLennart Poettering
2012-01-04journal: it's not a problem if the realtime jumps, hence don't ensure ↵Lennart Poettering
monotonicity of realtime for entries we write
2012-01-04journal: when increasing window, make sure to use the increased windowLennart Poettering
2012-01-04journal: apply seek check before resizing window, and refresh stat data if ↵Lennart Poettering
necessary
2012-01-04journal: add memory barrier before linking in newly created entriesLennart Poettering
2011-12-31journal: silence gcc warningsKay Sievers
2011-12-31journal: automatically deduce journal metrics from file system sizesLennart Poettering
2011-12-29journald: flush /run to /var as soon as it becomes availableLennart Poettering
2011-12-28journal: never mmap beyond file sizeLennart Poettering
2011-12-27journal: fix hash table lookup logicLennart Poettering
2011-12-21journal: properly handle first inline bisect array entryLennart Poettering
2011-12-21journal: add inline compression support with XZLennart Poettering
2011-12-20journal: fix space reservation limit enforcementLennart Poettering
2011-12-20journal: fix matchesLennart Poettering
2011-12-19journal: implement inotify-based live logging logicLennart Poettering
2011-11-08journal: implement multiple field matchesLennart Poettering
2011-10-15journal: unify code for up and for down traversalLennart Poettering
2011-10-15journal: properly implement matching with multiple matchesLennart Poettering
2011-10-14journal: synchronize seqnum across filesLennart Poettering
2011-10-14journal: implement parallel file traversalLennart Poettering
2011-10-13journal: implementation rotationLennart Poettering
2011-10-12journal: only fallocate() what we really need to avoid slowness on file ↵Lennart Poettering
systems which do not support fallocate natively
2011-10-08journal: implement parallel traversal in clientLennart Poettering