F2FS With Linux 5.12 Lets You Configure The Zstd/LZ4 Compression Ratio
Jaegeuk Kim sent in the F2FS changes this week for the Linux 5.12 merge window. Most exciting is configurable compression ratio for its file-system compression rather than sticking to just the default compression level. When mounting a F2FS file-system with the "compress_algorithm" mount option, ":level" can be appended to the option where "level" is the compression level desired. This allows for squeezing more space out of F2FS file-systems with a higher compression ratio for LZ4 or Zstd.
Along with allowing a compression level to be specified via the compress_algorithm mount option, F2FS with Linux 5.12 also introduces a "checkpoint_merge" mount option that will now create a kernel daemon to merge concurrent checkpoint requests in trying to eliminate redundant checkpoint problems.
Plus the F2FS pull request also has a number of other fixes and code improvements to this file-system driver.