# SPDX-License-Identifier: GPL-2.0-only
# Ext3 configs are here for backward compatibility with old configs which may
# have [31mCONFIG_EXT3_FS[0m set but not [31mCONFIG_EXT4_FS[0m set and thus would result in non-bootable
# kernels after the removal of ext3 driver.
config [31mCONFIG_EXT3_FS[0m
tristate "The Extended 3 (ext3) filesystem"
# These must match [31mCONFIG_EXT4_FS[0m selects...
select [31mCONFIG_EXT4_FS[0m
select [31mCONFIG_JBD2[0m
select [31mCONFIG_CRC16[0m
select [31mCONFIG_CRYPTO[0m
select [31mCONFIG_CRYPTO_CRC32C[0m
help
This config option is here only for backward compatibility. ext3
filesystem is now handled by the ext4 driver.
config [31mCONFIG_EXT3_FS_POSIX_ACL[0m
bool "Ext3 POSIX Access Control Lists"
depends on [31mCONFIG_EXT3_FS[0m
select [31mCONFIG_EXT4_FS_POSIX_ACL[0m
select [31mCONFIG_FS_POSIX_ACL[0m
help
This config option is here only for backward compatibility. ext3
filesystem is now handled by the ext4 driver.
config [31mCONFIG_EXT3_FS_SECURITY[0m
bool "Ext3 Security Labels"
depends on [31mCONFIG_EXT3_FS[0m
select [31mCONFIG_EXT4_FS_SECURITY[0m
help
This config option is here only for backward compatibility. ext3
filesystem is now handled by the ext4 driver.
config [31mCONFIG_EXT4_FS[0m
tristate "The Extended 4 (ext4) filesystem"
# Please update [31mCONFIG_EXT3_FS[0m selects when changing these
select [31mCONFIG_JBD2[0m
select [31mCONFIG_CRC16[0m
select [31mCONFIG_CRYPTO[0m
select [31mCONFIG_CRYPTO_CRC32C[0m
select [31mCONFIG_FS_IOMAP[0m
help
This is the next generation of the ext3 filesystem.
Unlike the change from ext2 filesystem to ext3 filesystem,
the on-disk format of ext4 is not forwards compatible with
ext3; it is based on extent maps and it supports 48-bit
physical block numbers. The ext4 filesystem also supports delayed
allocation, persistent preallocation, high resolution time stamps,
and a number of other features to improve performance and speed
up fsck time. For more information, please see the web pages at
http://ext4.wiki.kernel.org.
The ext4 filesystem supports mounting an ext3 filesystem; while there
are some performance gains from the delayed allocation and inode
table readahead, the best performance gains require enabling ext4
features in the filesystem using tune2fs, or formatting a new
filesystem as an ext4 filesystem initially. Without explicit enabling
of ext4 features, the on disk filesystem format stays fully backward
compatible.
To compile this file system support as a module, choose [31mCONFIG_M[0m here. The
module will be called ext4.
If unsure, say N.
config [31mCONFIG_EXT4_USE_FOR_EXT2[0m
bool "Use ext4 for ext2 file systems"
depends on [31mCONFIG_EXT4_FS[0m
depends on [31mCONFIG_EXT2_FS[0m=n
default y
help
Allow the ext4 file system driver code to be used for ext2
file system mounts. This allows users to reduce their
compiled kernel size by using one file system driver for
ext2, ext3, and ext4 file systems.
config [31mCONFIG_EXT4_FS_POSIX_ACL[0m
bool "Ext4 POSIX Access Control Lists"
depends on [31mCONFIG_EXT4_FS[0m
select [31mCONFIG_FS_POSIX_ACL[0m
help
POSIX Access Control Lists (ACLs) support permissions for users and
groups beyond the owner/group/world scheme.
If you don't know what Access Control Lists are, say N
config [31mCONFIG_EXT4_FS_SECURITY[0m
bool "Ext4 Security Labels"
depends on [31mCONFIG_EXT4_FS[0m
help
Security labels support alternative access control models
implemented by security modules like SELinux. This option
enables an extended attribute handler for file security
labels in the ext4 filesystem.
If you are not using a security module that requires using
extended attributes for file security labels, say N.
config [31mCONFIG_EXT4_DEBUG[0m
bool "Ext4 debugging support"
depends on [31mCONFIG_EXT4_FS[0m
help
Enables run-time debugging support for the ext4 filesystem.
If you select Y here, then you will be able to turn on debugging
with a command such as:
echo 1 > /sys/module/ext4/parameters/mballoc_debug