[systemd-devel] consider dropping defrag of journals on btrfs

Phillip Susi phill at thesusis.net
Thu Feb 11 18:05:56 UTC 2021


Colin Guthrie writes:

> I think the defaults are more complex than just "each journal file can 
> grow to 128M" no?

Not as far as I can see.

> I mean there is SystemMaxUse= which defaults to 10% of the partition on 
> which journal files live (this is for all journal files, not just the 
> SystemMaxFileSize= which refers to just one file).

That controls when to delete old journals, not when to rotate a
journal.  It looks like you can manually request a rotation, and you can
set a time based rotation, but it defaults to off, so that leaves
rotating once the file reaches the max size ( 128M ).


More information about the systemd-devel mailing list