F2FS Brings Compression Improvements To Linux 5.14

Written by Michael Larabel in Linux Storage on 7 July 2021 at 06:43 PM EDT. 3 Comments
The Flash-Friendly File-System (F2FS) continues seeing new features and improvements to this file-system that is increasingly used by Android devices and other flash/SSD-focused systems.

F2FS for this new kernel has a compress_cache feature to improve random read performance. The compress_cache mount option allows using the address space of an inner inode to cache the compressed block to improve the cache hit ratio for random reads.

Also on the compression front is allowing compression for mmap files. This is part of the F2FS developers continuing to make optimizations with Android in mind.

F2FS also picked up a new read-only feature likely to be used by read-only partitions on Android moving forward. There are also other F2FS improvements like fully supporting swapfiles with file pinning and greater ATGC garbage collection tunability. Plus various bug fixes too.

The full list of F2FS patches for Linux 5.14 via this pull request sent out a short time ago on the kernel mailing list.
Related News
About The Author
Michael Larabel

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