Lennart Poettering
7ea07dcdda
fix a couple of things found with the llvm static analyzer
2012-04-13 13:58:50 +02:00
Lennart Poettering
5430f7f2bc
relicense to LGPLv2.1 (with exceptions)
...
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-12 00:24:39 +02:00
Lennart Poettering
1fa80181ae
journal: decrease default mmap window size to allow a bigger number of journals to be traversed in parallel
2012-04-02 19:29:47 +02:00
Frederic Crozat
4fd052aede
add sparse support to detect endianness bug
...
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-22 01:09:37 +01:00
Lennart Poettering
0071d9f1db
journal: react with immediate rotation to a couple of more errors
2012-03-21 23:40:51 +01:00
Lennart Poettering
b47ffcfdfd
man: document systemd-journald.conf(5)
2012-03-15 23:25:14 +01:00
Frederic Crozat
ccdbaf9111
journal: only use uint8_t for state
2012-03-15 20:53:03 +01:00
Lennart Poettering
e7bf07b3d4
journald: be a bit more verbose
2012-03-15 03:01:09 +01:00
Lennart Poettering
a3a52c0fd0
journald: fix calculation of disk space
2012-03-15 03:01:09 +01:00
Lennart Poettering
15944db871
journald: copy metrics/compression state from template when rotating
2012-03-15 03:01:09 +01:00
Lennart Poettering
71100051c5
journald: increase max file size to 128MB
2012-03-15 02:57:39 +01:00
Lennart Poettering
5c70eab445
journal: vacuum corrupted files, too
2012-03-15 01:35:03 +01:00
Lennart Poettering
9447a7f1de
journal: if we encounter a corrupted file, rotate and go on
2012-03-15 01:13:01 +01:00
Lennart Poettering
48496df65c
journal: make sure to refresh window position and pointer after we linked up a data object
2012-03-06 02:42:32 +01:00
Frederic Crozat
7be3aa1732
journal: fix endianness errors
2012-03-05 14:47:18 +01:00
Dirk Eibach
8dc6b88fd2
systemd-journald: fix endianess bug
2012-02-29 14:06:33 +01:00
Lennart Poettering
be19b7df6e
journal: increase compression threshold for objects from 64 to 512
...
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-31 20:38:53 +01:00
Lennart Poettering
a7bc2c2ac8
util: introduce FORMAT_BYTES_MAX
2012-01-14 03:06:57 +01:00
Lennart Poettering
b785c858c3
journal: fix more 32/64 bit issues
2012-01-11 22:44:43 +01:00
Lennart Poettering
7f120cc6a2
journald: don't assume size_t and uint64_t are the same
2012-01-11 21:24:02 +01:00
Lennart Poettering
1921a5cb3d
journal: don't realign window twice
2012-01-11 03:55:24 +01:00
Lennart Poettering
aaf53376aa
journald: remove inner loop debug message
2012-01-07 04:10:21 +01:00
Lennart Poettering
fd8ee359a0
journal: it's not a problem if the realtime jumps, hence don't ensure monotonicity of realtime for entries we write
2012-01-04 18:32:50 +01:00
Lennart Poettering
a99c349d0d
journal: when increasing window, make sure to use the increased window
2012-01-04 02:21:04 +01:00
Lennart Poettering
4bbdcdb301
journal: apply seek check before resizing window, and refresh stat data if necessary
2012-01-04 02:16:38 +01:00
Lennart Poettering
b788cc23aa
journal: add memory barrier before linking in newly created entries
2012-01-04 02:15:45 +01:00
Kay Sievers
6c8a39b883
journal: silence gcc warnings
2011-12-31 03:55:35 +01:00
Lennart Poettering
babfc09177
journal: automatically deduce journal metrics from file system sizes
2011-12-31 02:31:54 +01:00
Lennart Poettering
cf244689e9
journald: flush /run to /var as soon as it becomes available
2011-12-29 15:00:57 +01:00
Lennart Poettering
2a59ea54f1
journal: never mmap beyond file size
2011-12-28 01:53:06 +01:00
Lennart Poettering
85a131e8d8
journal: fix hash table lookup logic
2011-12-27 22:58:20 +01:00
Lennart Poettering
440ee3665e
journal: properly handle first inline bisect array entry
2011-12-21 22:32:52 +01:00
Lennart Poettering
807e17f05e
journal: add inline compression support with XZ
2011-12-21 02:40:59 +01:00
Lennart Poettering
bc85bfee87
journal: fix space reservation limit enforcement
2011-12-20 02:38:36 +01:00
Lennart Poettering
466ccd92e2
journal: fix matches
2011-12-20 00:38:14 +01:00
Lennart Poettering
50f20cfdb0
journal: implement inotify-based live logging logic
2011-12-19 22:35:46 +01:00
Lennart Poettering
de190aef08
journal: implement multiple field matches
2011-11-08 18:20:03 +01:00
Lennart Poettering
e892bd1797
journal: unify code for up and for down traversal
2011-10-15 01:38:44 +02:00
Lennart Poettering
de7b95cdc3
journal: properly implement matching with multiple matches
2011-10-15 01:13:37 +02:00
Lennart Poettering
c2373f848d
journal: synchronize seqnum across files
2011-10-14 05:12:58 +02:00
Lennart Poettering
3fbf9cbb02
journal: implement parallel file traversal
2011-10-14 04:44:50 +02:00
Lennart Poettering
0ac38b7072
journal: implementation rotation
2011-10-13 05:19:35 +02:00
Lennart Poettering
38ac38b298
journal: only fallocate() what we really need to avoid slowness on file systems which do not support fallocate natively
2011-10-12 04:41:27 +02:00
Lennart Poettering
cec736d21f
journal: implement parallel traversal in client
2011-10-08 02:21:05 +02:00