diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-11-14 14:06:48 -0800 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-06-08 21:36:47 +0200 |
commit | 592d419ce6e283c443901be4a69c95984821ff06 (patch) | |
tree | 61a63d0d0b6451f8dd5e2cd0d21f9d44708f379a /src/resolve/resolved-dns-server.c | |
parent | 7f7a50dd157b3bfb4282c3cc3a56671121eabe24 (diff) | |
download | systemd-592d419ce6e283c443901be4a69c95984821ff06.tar.gz |
journal-file: truncate archived journals
Journal files have space allocated in 8MiB-aligned increments.
This can add up to substantial wasted space as many archived journals
accumulate without using all the allocated space.
This commit introduces truncating to the offset a subsequent append
would get written at when archiving.
Fixes https://github.com/systemd/systemd/issues/17613
Diffstat (limited to 'src/resolve/resolved-dns-server.c')
0 files changed, 0 insertions, 0 deletions