Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ext2: Deprecate DAX

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.

Link: https://lore.kernel.org/all/uiu7rcmtooxgbscaiiim7czqsca52bgrt6aiszsafq7jj4n3e7@ge6mfzcmnorl
Signed-off-by: Jan Kara <jack@suse.cz>

Jan Kara d5a2693f 5ea45f54

+2 -1
+2 -1
fs/ext2/super.c
··· 601 601 case Opt_dax: 602 602 #ifdef CONFIG_FS_DAX 603 603 ext2_msg_fc(fc, KERN_WARNING, 604 - "DAX enabled. Warning: EXPERIMENTAL, use at your own risk"); 604 + "DAX enabled. Warning: DAX support in ext2 driver is deprecated" 605 + " and will be removed at the end of 2025. Please use ext4 driver instead."); 605 606 ctx_set_mount_opt(ctx, EXT2_MOUNT_DAX); 606 607 #else 607 608 ext2_msg_fc(fc, KERN_INFO, "dax option not supported");