VOOZH about

URL: https://www.phoronix.com/news/Cryptsetup-2.8-Released

⇱ Cryptsetup 2.8 Released With Support For Inline Hardware Metadata Space - Phoronix


👁 Phoronix

Cryptsetup 2.8 Released With Support For Inline Hardware Metadata Space

Written by Michael Larabel in Hardware on 24 June 2025 at 06:16 AM EDT. 4 Comments
Cryptsetup 2.8 is out today as the newest feature release for this widely-used utility used to setup disk encryption under Linux around the DM-CRYPT kernel functionality for LUKS volumes and more.

Most prominent with Cryptsetup 2.8 is adding support for inline mode for making use of hardware sectors with additional hardware metadata space. This inline mode currently works with select enterprise NVMe SSDs and can be used for overcoming the performance bottleneck of the DM-INTEGRITY journal.

👁 Enterprise NVMe SSDs


The Cryptsetup 2.8 release notes explain of the new inline mode:
"Introduce support for inline mode (use HW sectors with additional hardware metadata space).

Some enterprise NVMe drives allow formatting sector size with additional metadata space, for example, sector size 4096 bytes + 64 bytes for metadata. We hope common firmware will soon support such features in more recent models.

If this metadata space is available (not internally used by a data integrity profile), it removes the need to use the dm-integrity layer for sector metadata allocation. This means that the performance bottleneck caused by the dm-integrity journal is eliminated.

Note: such drive must be reformatted with an external nvme tool. You can check for support (reported as LBA format) by running the command "nvme id-ns -H

Cryptsetup 2.8 also brings updates around the Keyslot context API use, OPAL2 handling updates and fixes, optimizing LUKS2 metadata writes, and various other fixes and updates. Cryptsetup 2.8 can be downloaded from GitLab.

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.