this post was submitted on 08 Oct 2026
57 points (95.2% liked)

Linux

68226 readers
410 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
 

The EXT4 file-system today deprecated its journaled mode of the "data=journal" mount option. Following its deprecation, this mode is planned for removal in the year 2028.

The data=journal mode for EXT4 is where all file data and metadata is written to the file-system's journal before being committed to the main file-system. In the event of a crash or power loss, the journal can then be replayed to recover the data.

The EXT4 data=journal mode is great for those very concerned about data integrity and safety but comes with significant hits to the write performance compared to the default ordered (data=ordered) mode or data=writeback. Using the journaled mode also disables delayed allocation and Direct I/O support.

EXT4 journal deprecated

Per today's Git merge for Linux 7.3, the EXT4 data=journal feature is deprecated and support for it will be removed in early 2028 following the 2027 Linux LTS kernel version.

top 24 comments
sorted by: hot top controversial new old
[–] thenextguy@sh.itjust.works 10 points 1 week ago (1 children)

No, the journal is not deprecated. Only data journaling is.

Metadata is still journaled and is what most people have been using all this time.

[–] LodeMike@lemmy.today 1 points 1 week ago

The vast majority of sensitive operations use atomic inode swaps instead of writing to the original file so the metadata is all that's needed.

[–] tiptoes@sh.itjust.works 9 points 1 week ago

That’s too bad. It was great for use as a root fs on VMware when you had an unreliable NFS storage. Kept every VM from needing an FSCK on recovery.

[–] ms_lane@lemmy.world 8 points 1 week ago (1 children)

What reason is there to use EXT4 if not for the journal?

Just use F2FS or BTRFS at that point. (or ZFS if you're fine with out-of-tree)

[–] thenextguy@sh.itjust.works 4 points 1 week ago (1 children)

They are not removing the journal.

[–] MonkderVierte@lemmy.zip 5 points 1 week ago* (last edited 1 week ago)

Okay, but no mention of alternative modes of operation for "those very concerned about data integrity and safety"?

[–] Guiorgy@lemmy.ml 3 points 1 week ago (1 children)

Wasn't the journal the main selling point in the transition from EXT2 to EXT3? This seems kinda backwards, what even is the rational?

[–] thenextguy@sh.itjust.works 7 points 1 week ago (1 children)

The metadata journal is still there. Most people are not journaling their data, it's too slow.

[–] Guiorgy@lemmy.ml 1 points 1 week ago (1 children)

Ah, I see! From googling "data=ordered" is the default and does what you said. Still, why not leave it for those that want it?

[–] thenextguy@sh.itjust.works 3 points 1 week ago (1 children)

Maintenance is not free? They still have to test it at the very least.

[–] Guiorgy@lemmy.ml 2 points 1 week ago (2 children)

Yeah, but I thought the philosophy was not to break userspace. I'm fine with the removal if absolutely nobody uses it, but some have commented here being users of the feature

[–] thenextguy@sh.itjust.works 2 points 1 week ago

Hmm, I don't really think this counts as user space. This is a kernel configuration parameter. User facing for sure, so a bit of gray area perhaps.

[–] thingsiplay@lemmy.ml 1 points 1 week ago (1 children)

I think its userspace too. But I don't know how this is defined anyway. Otherwise removing any drivers in the Kernel would count as breaking userspace too, and they do it all the time.

[–] Guiorgy@lemmy.ml 1 points 1 week ago (1 children)

The removed drivers are usually those that are really old and not used by anybody (using the latest kernel), so it's a bit different.

[–] thingsiplay@lemmy.ml 2 points 1 week ago

Sure, but I think the point is that most people don't even use data=journal option with EXT4. If I understand it right. But I get it, EXT4 is a common and stable and important part of Linux. Removing any feature, even if it not that many uses them, sounds wrong to me too. My previous point was actually trying to define if this falls into breaking userspace, and I just took a random example that affects userspace too. Because Linus doesn't say "we are only allowed to break userspace, if just a few people use it", he does not want do it at all. My point was, a driver in Kernel doesn't fall under userspace.

[–] TrollAccount69@lemmy.ml 3 points 1 week ago

If you are using data=journal, as I was, the move to ordered requires that you have a battery backup that communicates with the system(s) it backs up.

Apc makes them and the apc kernel module works with them and is very well documented.

Two years to purchase and implement power failover and shutdown is plenty of time.

[–] Kangae_Hishiryo@scribe.disroot.org 2 points 1 week ago (2 children)

But why they need to remove it? Maybe just left it as a non-recommended option or just create an alternative. A great amount of people, like me for example, have a volatile enviroment that makes this a need.

Although I do prefer Btrfs for that task, I understand why some people need it in Ext4.

[–] nyan@sh.itjust.works 7 points 1 week ago (1 children)

But why they need to remove it?

Most likely maintainers are looking to reduce the maintenance burden produced by a feature that had very low uptake (assuming, as others are saying, that it's only data journalling and not metadata journalling that's being removed).

[–] Kangae_Hishiryo@scribe.disroot.org 1 points 1 week ago (1 children)

Yeah, it might be that and that sounds fair, but still they could just make something like an external extension or module or something like that, or outright looking for someone who could make a more modern, maintenable, fast, lightweight and efficient alternative (using, i.e. io_uring).

[–] nyan@sh.itjust.works 3 points 1 week ago* (last edited 1 week ago)

I don't think there's anything preventing someone from forking it into an out-of-tree patchset or alternative module, if they're enthusiastic about the feature. But I'm pretty sure that searching for someone to rewrite a non-core function that most people don't care about is way outside what Linus and the various core maintainers want to do with their time. Normally open source is about people scratching their own itches.

[–] eldavi@lemmy.ml 3 points 1 week ago

Although I do prefer Btrfs for that task, I understand why some people need it in Ext4.

i was going to say something along these lines -- we switched at a previous last shop to something more reliable and it got rid of our problems, but our fleet was probably newer and smaller than yours; around 5k debian 8/9 bare iron servers back around 2017.