F2FS Continues Furthering Its Encryption, Per-File Data Compression Capabilities

Written by Michael Larabel in Linux Storage on 19 December 2020 at 12:22 AM EST. Add A Comment
The Flash-Friendly File-System (F2FS) continues seeing new work around its transparent data compression, optional case insensitive behavior, and native encryption support with the new code queued for Linux 5.11.

As previously outlined, F2FS with Linux 5.11 now allows for casefolding with encryption. While F2FS has supported both case-folding (case insensitive files/folders) and native encryption, it hasn't allowed both to work together... Until Linux 5.11. Specialized handling was required for supporting both features at the same time.

On the compression front, developers continue work on per-file compression abilities. There are new ioctls and a related mount option for allowing per-file compression support. The mount option is compress_mode= for either a value of "fs" for the entire file-system or "user" for leaving it up to the user for selecting the files to be compressed.

F2FS with Linux 5.11 is also seeing checksum support for compressed clusters to detect any corrupted cluster, an improvement to avoid I/O starvation by replacing mutex usage with reader/writer semaphores, and a number of bug fixes throughout the file-system driver.

The full list of F2FS changes for Linux 5.11 can be found via 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