Blame view

fs/ext4/Kconfig 4.01 KB
ec8f24b7f   Thomas Gleixner   treewide: Add SPD...
1
  # SPDX-License-Identifier: GPL-2.0-only
c290ea01a   Jan Kara   fs: Remove ext3 f...
2
3
4
5
6
  # 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"
c290ea01a   Jan Kara   fs: Remove ext3 f...
7
  	select EXT4_FS
c290ea01a   Jan Kara   fs: Remove ext3 f...
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  	help
  	  This config option is here only for backward compatibility. ext3
  	  filesystem is now handled by the ext4 driver.
  
  config EXT3_FS_POSIX_ACL
  	bool "Ext3 POSIX Access Control Lists"
  	depends on EXT3_FS
  	select EXT4_FS_POSIX_ACL
  	select FS_POSIX_ACL
  	help
  	  This config option is here only for backward compatibility. ext3
  	  filesystem is now handled by the ext4 driver.
  
  config EXT3_FS_SECURITY
  	bool "Ext3 Security Labels"
  	depends on EXT3_FS
  	select EXT4_FS_SECURITY
  	help
  	  This config option is here only for backward compatibility. ext3
  	  filesystem is now handled by the ext4 driver.
6da0b38f4   Alexey Dobriyan   fs/Kconfig: move ...
28
29
30
31
  config EXT4_FS
  	tristate "The Extended 4 (ext4) filesystem"
  	select JBD2
  	select CRC16
0441984a3   Darrick J. Wong   ext4: load the cr...
32
33
  	select CRYPTO
  	select CRYPTO_CRC32C
545052e9e   Christoph Hellwig   ext4: Switch to i...
34
  	select FS_IOMAP
ede7a09fc   Herbert Xu   fscrypt: Allow mo...
35
  	select FS_ENCRYPTION_ALGS if FS_ENCRYPTION
6da0b38f4   Alexey Dobriyan   fs/Kconfig: move ...
36
37
38
39
40
41
42
43
44
45
46
  	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.
c8962f4be   Jan Kara   ext4: Improve ext...
47
48
49
50
51
52
53
  	  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.
6da0b38f4   Alexey Dobriyan   fs/Kconfig: move ...
54
55
56
57
58
  
  	  To compile this file system support as a module, choose M here. The
  	  module will be called ext4.
  
  	  If unsure, say N.
c290ea01a   Jan Kara   fs: Remove ext3 f...
59
  config EXT4_USE_FOR_EXT2
d4eb6dee4   Jean Delvare   ext4: Update EXT4...
60
  	bool "Use ext4 for ext2 file systems"
84c664730   David Howells   ext4: Don't ask a...
61
  	depends on EXT4_FS
c290ea01a   Jan Kara   fs: Remove ext3 f...
62
  	depends on EXT2_FS=n
24b584240   Theodore Ts'o   ext4: Use ext4 fi...
63
64
  	default y
  	help
c290ea01a   Jan Kara   fs: Remove ext3 f...
65
66
  	  Allow the ext4 file system driver code to be used for ext2
  	  file system mounts.  This allows users to reduce their
24b584240   Theodore Ts'o   ext4: Use ext4 fi...
67
68
  	  compiled kernel size by using one file system driver for
  	  ext2, ext3, and ext4 file systems.
6da0b38f4   Alexey Dobriyan   fs/Kconfig: move ...
69
70
  config EXT4_FS_POSIX_ACL
  	bool "Ext4 POSIX Access Control Lists"
96465efee   Valerie Aurora   ext4: fix configu...
71
  	depends on EXT4_FS
6da0b38f4   Alexey Dobriyan   fs/Kconfig: move ...
72
73
74
75
  	select FS_POSIX_ACL
  	help
  	  POSIX Access Control Lists (ACLs) support permissions for users and
  	  groups beyond the owner/group/world scheme.
6da0b38f4   Alexey Dobriyan   fs/Kconfig: move ...
76
77
78
79
  	  If you don't know what Access Control Lists are, say N
  
  config EXT4_FS_SECURITY
  	bool "Ext4 Security Labels"
96465efee   Valerie Aurora   ext4: fix configu...
80
  	depends on EXT4_FS
6da0b38f4   Alexey Dobriyan   fs/Kconfig: move ...
81
82
83
84
85
86
87
88
  	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.
6ba495e92   Theodore Ts'o   ext4: Add configu...
89
90
  
  config EXT4_DEBUG
231fe82b5   Geert Uytterhoeven   ext4: Change debu...
91
  	bool "Ext4 debugging support"
6ba495e92   Theodore Ts'o   ext4: Add configu...
92
93
94
95
96
  	depends on EXT4_FS
  	help
  	  Enables run-time debugging support for the ext4 filesystem.
  
  	  If you select Y here, then you will be able to turn on debugging
70aa1554b   Ritesh Harjani   ext4: make ext_de...
97
  	  using dynamic debug control for mb_debug() / ext_debug() msgs.
1cbeab1b2   Iurii Zaikin   ext4: add kunit t...
98
99
  
  config EXT4_KUNIT_TESTS
d194e12b3   Anders Roxell   fs: ext4: default...
100
  	tristate "KUnit tests for ext4" if !KUNIT_ALL_TESTS
1cbeab1b2   Iurii Zaikin   ext4: add kunit t...
101
102
  	select EXT4_FS
  	depends on KUNIT
d194e12b3   Anders Roxell   fs: ext4: default...
103
  	default KUNIT_ALL_TESTS
1cbeab1b2   Iurii Zaikin   ext4: add kunit t...
104
105
106
107
  	help
  	  This builds the ext4 KUnit tests.
  
  	  KUnit tests run during boot and output the results to the debug log
e65bf6e46   Alexander A. Klimov   ext4: replace HTT...
108
  	  in TAP format (https://testanything.org/). Only useful for kernel devs
1cbeab1b2   Iurii Zaikin   ext4: add kunit t...
109
110
111
112
113
114
115
  	  running KUnit test harness and are not for inclusion into a production
  	  build.
  
  	  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.