[systemd-devel] consider dropping defrag of journals on btrfs
Lennart Poettering
lennart at poettering.net
Fri Feb 5 21:33:43 UTC 2021
On Fr, 05.02.21 16:16, Phillip Susi (phill at thesusis.net) wrote:
>
> Lennart Poettering writes:
>
> > Nope. We always interleave stuff. We currently open all journal files
> > in parallel. The system one and the per-user ones, the current ones
> > and the archived ones.
>
> Wait... every time you look at the journal at all, it has to read back
> through ALL of the archived journals, even if you are only interested in
> information since the last boot that just happened 5 minutes ago?
no, we do not iterate though them. we just read some metadata off the header.
Lennart
--
Lennart Poettering, Berlin
More information about the systemd-devel
mailing list