F2FS Experimental Compression Is Ready For Extending Flash Storage Life

This F2FS compression support is still experimental with Linux 5.6 but is easy to activate via a mount option. LZO and LZ4 compression algorithms are available right now while other formats are being investigated for supporting in the future. The compress_algorithm mount option can be used for specifying the mode and there are several other compression options too, such as for limiting the compression to certain file extensions.
The focus of this F2FS compression support is less about maximizing storage capacity and more about trying to reduce writes to extend the life of the flash storage and reducing I/O congestion.
This compression support is part of the F2FS for 5.6 pull along hardening the power-cut behavior for zoned block devices, changes to the garbage collection mutex, and several bug fixes.
26 Comments