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

Phillip Susi phill at thesusis.net
Thu Feb 11 16:29:32 UTC 2021


Colin Guthrie writes:

> Are those journal files suffixed with a ~. Only ~ suffixed journals 
> represent a dirty journal file (i.e. from an unexpected shutdown).

Nope.

> Journals rotate for other reason too (e.g. user request, overall space 
> requirements etc.) which might explain this wasted space?

I've made no requests to rotate and config is default, which afaics
means only rotate when the log hits max size of 128MB.  Thus I wouldn't
expect to really see any holes in the log, especially in the middle.



More information about the systemd-devel mailing list