F2FS File-System Seeing LZO/LZ4 Compression Support
Written by Michael Larabel in Linux Storage on 24 October 2019 at 06:58 AM EDT. 7 Comments
Similar to the transparent file-system compression that has been available on the likes of Btrfs and ZFS for years, the Flash-Friendly File-System (F2FS) is also in the process of receiving native compression support.

Native compression support for F2FS is being worked on and is more selective rather than the blanket enabling like with Btrfs. In the F2FS case there is a compress_extension mount option for just compressing files with a matching file extension. Besides the compress_extension method, it can manually be enabled for select files/directories with chattr +c for compression.

The current F2FS compression implementation supports options of LZO and LZ4 for compression and can be changed via the compress_algorithm mount option. There is also the compress_log_size option if wanting to tune the compression cluster size.

More details on this currently experimental F2FS compression implementation via this mailing list post.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week