mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
ext4: mark data=journal as deprecated and will be removed in January 2028.
Signed-off-by: Theodore Ts'o <[email protected]>
This commit is contained in:
1 parent
4b1d04693e
commit
3e78d7b063
2 files changed
+5
-2
No files matched your search
@@ -172,7 +172,8 @@ When mounting an ext4 filesystem, the following option are accepted:
|
||||
data=journal
|
||||
All data are committed into the journal prior to being written into the
|
||||
main file system. Enabling this mode will disable delayed allocation
|
||||
and O_DIRECT support.
|
||||
and O_DIRECT support. This feature is deprecated and support
|
||||
will be removed in January 2028.
|
||||
|
||||
data=ordered (*)
|
||||
All data are forced directly out to the main file system prior to its
|
||||
@@ -418,7 +419,8 @@ There are 3 different data modes:
|
||||
consistent state. This mode is the slowest except when data needs to be read
|
||||
from and written to disk at the same time where it outperforms all others
|
||||
modes. Enabling this mode will disable delayed allocation and O_DIRECT
|
||||
support.
|
||||
support. The data=journal feature is deprecated and support will be
|
||||
removed in January 2028.
|
||||
|
||||
/proc entries
|
||||
=============
|
||||
|
||||
@@ -5057,6 +5057,7 @@ out:
|
||||
static int ext4_check_journal_data_mode(struct super_block *sb)
|
||||
{
|
||||
if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) {
|
||||
printk(KERN_WARNING "EXT4-fs: The data=journal mount option is deprecated and support will be removed in January 2028\n");
|
||||
printk_once(KERN_WARNING "EXT4-fs: Warning: mounting with "
|
||||
"data=journal disables delayed allocation, "
|
||||
"dioread_nolock, O_DIRECT and fast_commit support!\n");
|
||||
|
||||
Reference in new issue
Block a user