Hacker News new | ask | show | jobs
by nhoughto 1368 days ago
No mention of if it’s force compression or not. Normal Btrfs compression can be unsuitable for some workloads where the beginning of files doesn’t compress but the rest does, Btrfs won’t compress the file if it appears pointless. Confused me when I tested it and can make a big difference!

https://btrfs.readthedocs.io/en/latest/Compression.html

1 comments

Doesn't seem forced. The command listed is "btrfs filesystem defrag -czstd -r /" and the results include the "none" compression. That means most likely some files were rejected.