blob: 219a190ccae950cbbb7ad4f596b653739260ace5 [file] [log] [blame]
Jan Karac290ea02015-06-18 16:52:29 +02001# Ext3 configs are here for backward compatibility with old configs which may
2# have EXT3_FS set but not EXT4_FS set and thus would result in non-bootable
3# kernels after the removal of ext3 driver.
4config EXT3_FS
5 tristate "The Extended 3 (ext3) filesystem"
6 # These must match EXT4_FS selects...
7 select EXT4_FS
8 select JBD2
9 select CRC16
10 select CRYPTO
11 select CRYPTO_CRC32C
12 help
13 This config option is here only for backward compatibility. ext3
14 filesystem is now handled by the ext4 driver.
15
16config EXT3_FS_POSIX_ACL
17 bool "Ext3 POSIX Access Control Lists"
18 depends on EXT3_FS
19 select EXT4_FS_POSIX_ACL
20 select FS_POSIX_ACL
21 help
22 This config option is here only for backward compatibility. ext3
23 filesystem is now handled by the ext4 driver.
24
25config EXT3_FS_SECURITY
26 bool "Ext3 Security Labels"
27 depends on EXT3_FS
28 select EXT4_FS_SECURITY
29 help
30 This config option is here only for backward compatibility. ext3
31 filesystem is now handled by the ext4 driver.
32
Alexey Dobriyan6da0b382008-10-20 22:28:45 +040033config EXT4_FS
34 tristate "The Extended 4 (ext4) filesystem"
Jan Karac290ea02015-06-18 16:52:29 +020035 # Please update EXT3_FS selects when changing these
Alexey Dobriyan6da0b382008-10-20 22:28:45 +040036 select JBD2
37 select CRC16
Darrick J. Wong04419842012-04-29 18:27:10 -040038 select CRYPTO
39 select CRYPTO_CRC32C
Alexey Dobriyan6da0b382008-10-20 22:28:45 +040040 help
41 This is the next generation of the ext3 filesystem.
42
43 Unlike the change from ext2 filesystem to ext3 filesystem,
44 the on-disk format of ext4 is not forwards compatible with
45 ext3; it is based on extent maps and it supports 48-bit
46 physical block numbers. The ext4 filesystem also supports delayed
47 allocation, persistent preallocation, high resolution time stamps,
48 and a number of other features to improve performance and speed
49 up fsck time. For more information, please see the web pages at
50 http://ext4.wiki.kernel.org.
51
52 The ext4 filesystem will support mounting an ext3
53 filesystem; while there will be some performance gains from
54 the delayed allocation and inode table readahead, the best
55 performance gains will require enabling ext4 features in the
Matt LaPlante692105b2009-01-26 11:12:25 +010056 filesystem, or formatting a new filesystem as an ext4
Alexey Dobriyan6da0b382008-10-20 22:28:45 +040057 filesystem initially.
58
59 To compile this file system support as a module, choose M here. The
60 module will be called ext4.
61
62 If unsure, say N.
63
Jan Karac290ea02015-06-18 16:52:29 +020064config EXT4_USE_FOR_EXT2
Theodore Ts'o24b58422009-12-07 14:08:51 -050065 bool "Use ext4 for ext2/ext3 file systems"
David Howells84c66472009-12-21 10:54:09 -050066 depends on EXT4_FS
Jan Karac290ea02015-06-18 16:52:29 +020067 depends on EXT2_FS=n
Theodore Ts'o24b58422009-12-07 14:08:51 -050068 default y
69 help
Jan Karac290ea02015-06-18 16:52:29 +020070 Allow the ext4 file system driver code to be used for ext2
71 file system mounts. This allows users to reduce their
Theodore Ts'o24b58422009-12-07 14:08:51 -050072 compiled kernel size by using one file system driver for
73 ext2, ext3, and ext4 file systems.
74
Alexey Dobriyan6da0b382008-10-20 22:28:45 +040075config EXT4_FS_POSIX_ACL
76 bool "Ext4 POSIX Access Control Lists"
Valerie Aurora96465ef2013-01-06 23:38:44 -050077 depends on EXT4_FS
Alexey Dobriyan6da0b382008-10-20 22:28:45 +040078 select FS_POSIX_ACL
79 help
80 POSIX Access Control Lists (ACLs) support permissions for users and
81 groups beyond the owner/group/world scheme.
82
83 To learn more about Access Control Lists, visit the POSIX ACLs for
84 Linux website <http://acl.bestbits.at/>.
85
86 If you don't know what Access Control Lists are, say N
87
88config EXT4_FS_SECURITY
89 bool "Ext4 Security Labels"
Valerie Aurora96465ef2013-01-06 23:38:44 -050090 depends on EXT4_FS
Alexey Dobriyan6da0b382008-10-20 22:28:45 +040091 help
92 Security labels support alternative access control models
93 implemented by security modules like SELinux. This option
94 enables an extended attribute handler for file security
95 labels in the ext4 filesystem.
96
97 If you are not using a security module that requires using
98 extended attributes for file security labels, say N.
Theodore Ts'o6ba495e2009-09-18 13:38:55 -040099
Herbert Xufb63e542015-05-02 10:29:19 -0400100config EXT4_ENCRYPTION
101 tristate "Ext4 Encryption"
Theodore Ts'ob17655f2015-04-11 07:46:47 -0400102 depends on EXT4_FS
103 select CRYPTO_AES
104 select CRYPTO_CBC
105 select CRYPTO_ECB
106 select CRYPTO_XTS
107 select CRYPTO_CTS
Theodore Ts'o71dea012015-05-31 13:31:37 -0400108 select CRYPTO_CTR
Theodore Ts'ob17655f2015-04-11 07:46:47 -0400109 select CRYPTO_SHA256
110 select KEYS
111 select ENCRYPTED_KEYS
112 help
113 Enable encryption of ext4 files and directories. This
114 feature is similar to ecryptfs, but it is more memory
115 efficient since it avoids caching the encrypted and
116 decrypted pages in the page cache.
117
Herbert Xufb63e542015-05-02 10:29:19 -0400118config EXT4_FS_ENCRYPTION
119 bool
120 default y
121 depends on EXT4_ENCRYPTION
122
Theodore Ts'o6ba495e2009-09-18 13:38:55 -0400123config EXT4_DEBUG
124 bool "EXT4 debugging support"
125 depends on EXT4_FS
126 help
127 Enables run-time debugging support for the ext4 filesystem.
128
129 If you select Y here, then you will be able to turn on debugging
Theodore Ts'o7f3e3c72013-04-21 20:32:03 -0400130 with a command such as:
131 echo 1 > /sys/module/ext4/parameters/mballoc_debug