FSCRYPT Sees Cleanup With Linux 7.3 To Open Door For More Features Like Btrfs Encryption

Written by Michael Larabel in Linux Storage on 20 August 2026 at 09:18 AM EDT. 6 Comments
LINUX STORAGE
FSCRYPT is the Linux file-system encryption framework for supporting per-directory, transparent encryption. FSCRYPT so far is used by the likes of EXT4, F2FS, and CephFS. For Linux 7.3 there is an important clean-up to the FSCRYPT code to simplify it while also opening the door for new features moving forward into future kernel versions.

Eric Biggers sent out the FSCRYPT updates this week for Linux 7.3, which are already merged and headlined by a significant clean-up. This work removes redundant implementations of the single file encryption code where as EXT4 and F2FS had each been carrying their own implementation. In place the blk-crypto implementation for file contents encryption is used, which also allows using inline encryption hardware where supported.

EXT4 FSCRYPT encryption


Removing the redundant implementation allows for clearing out a lot of FSCRYPT code. Plus makes it easier supporting new features moving forward. Among those features noted by Eric Biggers of Google is for IOmap support, large folios, and supporting FSCRYPT encryption with Btrfs.

For Linux 7.3 this rework also now allows direct I/O to work on encrypted files even without the "inlinecrypt" mount option rather than falling back to buffered I/O.

More details on this FSCRYPT work now merged for Linux 7.3 via this pull request.
Related News
About The Author

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