summaryrefslogtreecommitdiff
path: root/src/readahead
Commit message (Collapse)AuthorAge
...
* readahead: a bit of reformattingLennart Poettering2012-09-03
|
* readahead-analyze: don't call fclose on nullLukas Nykryn2012-08-23
|
* fix a couple of issues found with llvm-analyzeLennart Poettering2012-08-08
|
* log.h: new log_oom() -> int -ENOMEM, use itShawn Landden2012-07-26
| | | | | | also a number of minor fixups and bug fixes: spelling, oom errors that didn't print errors, not properly forwarding error codes, few more consistency issues, et cetera
* use "Out of memory." consistantly (or with "\n")Shawn Landden2012-07-25
| | | | | | | | glibc/glib both use "out of memory" consistantly so maybe we should consider that instead of this. Eliminates one string out of a number of binaries. Also fixes extra newline in udev/scsi_id
* use #pragma once instead of foo*foo #define guardsShawn Landden2012-07-19
| | | | | | | | | | | | | | | | | #pragma once has been "un-deprecated" in gcc since 3.3, and is widely supported in other compilers. I've been using and maintaining (rebasing) this patch for a while now, as it annoyed me to see #ifndef fooblahfoo, etc all over the place, almost arrogant about the annoyance of having to define all these names to perform a commen but neccicary functionality, when a completely superior alternative exists. I havn't sent it till now, cause its kindof a style change, and it is bad voodoo to mess with style that has been established by more established editors. So feel free to lambast me as a crazy bafoon. v2 - preserve externally used headers
* readahead: fix calculation of percentageLennart Poettering2012-07-03
|
* journal: fix sd_journal_stream_fd()Lennart Poettering2012-06-22
|
* readahead: minor code style fixesLennart Poettering2012-06-22
|
* readahead: make sure to close pack file before exiting, to be valgrind cleanLennart Poettering2012-06-22
|
* readahead: use log_error() for logging errorsLennart Poettering2012-06-21
|
* readahead: make use of util.h's page_size() callLennart Poettering2012-06-21
|
* readahead: merge three binaries into oneLennart Poettering2012-06-21
| | | | | | | since the binaries share much of the same code and we better load only one binary instead of two from disk at early boot let's merge the three readahead binaries into one. This also allows us to drop a lot of duplicated code.
* readahead: Add tool to analyze the contents of the pack file. v3.Auke Kok2012-06-05
| | | | | | | | | | | | | | | | | | This patch adds code to compile 'systemd-readahead-analyze' and install it into $bindir. Use this program to parse the contents of the readahead pack file, or an arbitrary pack file and display which files are listed in it, and how much of the files are requested to be readahead. This code is not new - it's partially taken from sreadahead (formerly maintained by Arjan van der Ven and me, and was originally written by me), and adapted with the right bits to parse the systemd readahead pack files, which are slightly different in format. v2 adds a common READAHEAD_PACK_FILE_VERSION used in all the code to provide a quick way to assure all these programs are always synchronized. v3 fixes the integer math.
* readahead: avoid running of readahead services if readahead is already doneLennart Poettering2012-05-23
|
* readahead: avoid activating the journal by accident, log directly to kmsgLennart Poettering2012-05-23
|
* readahead: store inode numbers in pack fileLennart Poettering2012-05-04
| | | | | | If the inode nr for each file is available in the pack file we can easily detect replaced files (like they result from package upgrades) which we can then skip to readahead.
* units: use OOMScoreAdjust= in the unit files to set OOM score adjustLennart Poettering2012-05-04
|
* readhead: temporarily lower the kernel's read_ahead_kb setting while collectingLennart Poettering2012-05-04
| | | | | | | | While collecting readahead data we want to know exactly what userspace accesses unblurred by the kernel's read_ahead_kb. Hence lower this during collection, and raise it afterwards. This is mostly based on ideas and code by Auke Kok.
* readahead: rather than checking for virtualization in the C code, use ↵Lennart Poettering2012-04-24
| | | | ConditionVirtualization= in the unit
* relicense to LGPLv2.1 (with exceptions)Lennart Poettering2012-04-12
| | | | | | | | | | | | | | 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.
* readahead: don't monopolize IO when replayingLennart Poettering2012-01-21
|
* core: switch all log targets to go directly to the journal, instead via syslogLennart Poettering2012-01-12
|
* build-sys: add stub makefiles to subdirsLennart Poettering2012-01-05
|
* build-sys: move public header files into a dir of their ownLennart Poettering2012-01-05
|
* readahead: bring export definition of sd-readahead in line with sd-daemonLennart Poettering2012-01-03
|
* build-sys: make readahead and vconsole optionalLennart Poettering2011-12-31