VOOZH about

URL: https://www.phoronix.com/news/EXT2-DAX-Being-Deprecated

⇱ EXT2 DAX Being Deprecated & For Removal At Year's End - Phoronix


👁 Phoronix

EXT2 DAX Being Deprecated & For Removal At Year's End

Written by Michael Larabel in Linux Kernel on 4 May 2025 at 07:02 AM EDT. 7 Comments
The EXT2 file-system's direct access "DAX" mode is being deprecated and expected for removal at the end of 2025, after this year's Long Term Support (LTS) kernel version.

Jan Kara of SUSE has queued ahead of the Linux 6.16 merge window is the patch deprecating the EXT2 DAX mode:
"Since PMEM didn't quite lift off, DAX isn't as widely used as we originally hoped. Thus it doesn't seem warranted to support implementation of DAX in ext2 driver when the same filesystem can be accessed through ext4 driver as a "simple implementation". Just deprecate DAX support in ext2 targetting completely dropping the code at the end of 2025."

This is only about using EXT2 in DAX mode and not the EXT2 file-system driver itself. EXT2 DAX was intended for use with the likes of Intel Optane DC Persistent Memory that didn't pan out and the products cancelled long ago. In DAX mode, the file-system avoids copies into the page cache and instead reads/writes directly to the memory-like storage device.

👁 Intel Optane slide


The EXT2 driver could operate in direct access mode with the "-o dax" mount option. The EXT2 driver's DAX support only ever reached an experimental state and will now report:
"DAX enabled. Warning: DAX support in ext2 driver is deprecated and will be removed at the end of 2025. Please use ext4 driver instead."

That removal at the end of 2025 for likely being the cycle after this year's Long Term Support kernel version as the last kernel release of the calendar year. As noted, the EXT4 driver can still be used with DAX mode. XFS and EROFS also support DAX modes too for those with relevant persistent memory devices.

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.