mirror of
https://github.com/torvalds/linux.git
synced 2026-10-23 15:32:04 +02:00
ext4: mark data=journal as deprecated and will be removed in January 2028.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
parent
4b1d04693e
commit
3e78d7b063
|
|
@ -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 @@ static int ext4_load_and_init_journal(struct super_block *sb,
|
|||
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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user