Directory Files
.. 79
File Size
.kunitconfig 58 B
Kconfig 4.1 kB
Makefile 712 B
acl.c 6.9 kB
acl.h 1.6 kB
balloc.c 28 kB
bitmap.c 2.7 kB
block_validity.c 9.6 kB
dir.c 18 kB
ext4-inode-test.mod.c 0 B
ext4.h 137 kB
ext4.mod.c 0 B
ext4_extents.h 8.6 kB
ext4_jbd2.c 11 kB
ext4_jbd2.h 18 kB
extents.c 169 kB
extents_status.c 62 kB
extents_status.h 8.2 kB
fast_commit.c 63 kB
fast_commit.h 4.2 kB
file.c 24 kB
fsmap.c 20 kB
fsmap.h 2.0 kB
fsync.c 5.3 kB
hash.c 7.4 kB
ialloc.c 46 kB
indirect.c 44 kB
inline.c 51 kB
inode-test.c 7.7 kB
inode.c 182 kB
ioctl.c 35 kB
mballoc.c 187 kB
mballoc.h 6.0 kB
migrate.c 17 kB
mmp.c 10 kB
move_extent.c 21 kB
namei.c 112 kB
orphan.c 19 kB
page-io.c 16 kB
readpage.c 12 kB
resize.c 62 kB
super.c 193 kB
symlink.c 2.1 kB
sysfs.c 17 kB
truncate.h 1.6 kB
verity.c 11 kB
xattr.c 84 kB
xattr.h 7.4 kB
xattr_hurd.c 1.4 kB
xattr_security.c 1.7 kB
xattr_trusted.c 1.2 kB
xattr_user.c 1.3 kB

Linux v5.15-rc7 - ext4

# SPDX-License-Identifier: GPL-2.0-only
# Ext3 configs are here for backward compatibility with old configs which may
# have EXT3_FS set but not EXT4_FS set and thus would result in non-bootable
# kernels after the removal of ext3 driver.
config EXT3_FS
	tristate "The Extended 3 (ext3) filesystem"
	select EXT4_FS
	  This config option is here only for backward compatibility. ext3
	  filesystem is now handled by the ext4 driver.

	bool "Ext3 POSIX Access Control Lists"
	depends on EXT3_FS
	select FS_POSIX_ACL
	  This config option is here only for backward compatibility. ext3
	  filesystem is now handled by the ext4 driver.

	bool "Ext3 Security Labels"
	depends on EXT3_FS
	  This config option is here only for backward compatibility. ext3
	  filesystem is now handled by the ext4 driver.

config EXT4_FS
	tristate "The Extended 4 (ext4) filesystem"
	select JBD2
	select CRC16
	select CRYPTO
	select CRYPTO_CRC32C
	select FS_IOMAP
	  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

	  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

	  To compile this file system support as a module, choose M here. The
	  module will be called ext4.

	  If unsure, say N.

config EXT4_USE_FOR_EXT2
	bool "Use ext4 for ext2 file systems"
	depends on EXT4_FS
	depends on EXT2_FS=n
	default y
	  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.

	bool "Ext4 POSIX Access Control Lists"
	depends on EXT4_FS
	select FS_POSIX_ACL
	  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

	bool "Ext4 Security Labels"
	depends on EXT4_FS
	  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 EXT4_DEBUG
	bool "Ext4 debugging support"
	depends on EXT4_FS
	  Enables run-time debugging support for the ext4 filesystem.

	  If you select Y here, then you will be able to turn on debugging
	  using dynamic debug control for mb_debug() / ext_debug() msgs.

	tristate "KUnit tests for ext4" if !KUNIT_ALL_TESTS
	depends on EXT4_FS && KUNIT
	  This builds the ext4 KUnit tests.

	  KUnit tests run during boot and output the results to the debug log
	  in TAP format ( Only useful for kernel devs
	  running KUnit test harness and are not for inclusion into a production

	  For more information on KUnit and unit tests in general please refer
	  to the KUnit documentation in Documentation/dev-tools/kunit/.

	  If unsure, say N.