summaryrefslogtreecommitdiffstats
path: root/src/shared/btrfs-util.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* btrfs-util: rework how we iterate through the results of the TREE_SEARCH resultsLennart Poettering2015-01-071-32/+95
| | | | | Let's introduce some syntactic sugar with iteration macros, and add correct key increment calls.
* journald: whenever we rotate a file, btrfs defrag itLennart Poettering2015-01-061-0/+19
| | | | | | | Our write pattern is quite awful for CoW file systems (btrfs...), as we keep updating file parts in the beginning of the file. This results in fragmented journal files. Hence: when rotating files, defragment them, since at that point we know that no further write accesses will be made.
* machined: add support for reporting image size via btrfs quotaLennart Poettering2014-12-281-23/+157
|
* tmpfiles: add new line type 'v' for creating btrfs subvolumesLennart Poettering2014-12-281-0/+20
|
* machined: beef up machined image listing with creation/modification times of ↵Lennart Poettering2014-12-251-3/+79
| | | | | | | subvolumes We make use of the btrfs subvol crtime for this, and for gpt images of a manually managed xattr, if we can.
* machined/machinectl: add logic to show list of available imagesLennart Poettering2014-12-191-6/+15
| | | | | | | | | This adds a new bus call to machined that enumerates /var/lib/container and returns all trees stored in it, distuingishing three types: - GPT disk images, which are files suffixed with ".gpt" - directory trees - btrfs subvolumes
* machinectl: add new commands for copying files from/to containersLennart Poettering2014-12-181-1/+1
|
* shared: add new btrfs-util.[ch] helpers for doing common btrfs operationLennart Poettering2014-12-121-0/+294