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

Phillip Susi phill at thesusis.net
Tue Feb 9 14:53:32 UTC 2021


Chris Murphy writes:

> Basically correct. It will merge random writes such that they become
> sequential writes. But it means inserts/appends/overwrites for a file
> won't be located with the original extents.

Wait, I thoguht that was only true for metadata, not normal file data
blocks?  Well, maybe it becomes true for normal data if you enable
compression.  Or small files that get leaf packed into the metadata
chunk.

If it's really combining streaming writes from two different files into
a single interleaved write to the disk, that would be really silly.


More information about the systemd-devel mailing list