1 # SPDX-License-Identifier: GPL-2.0-only << 2 # Ext3 configs are here for backward compatibi 1 # Ext3 configs are here for backward compatibility with old configs which may 3 # have EXT3_FS set but not EXT4_FS set and thu 2 # have EXT3_FS set but not EXT4_FS set and thus would result in non-bootable 4 # kernels after the removal of ext3 driver. 3 # kernels after the removal of ext3 driver. 5 config EXT3_FS 4 config EXT3_FS 6 tristate "The Extended 3 (ext3) filesy 5 tristate "The Extended 3 (ext3) filesystem" >> 6 # These must match EXT4_FS selects... 7 select EXT4_FS 7 select EXT4_FS >> 8 select JBD2 >> 9 select CRC16 >> 10 select CRYPTO >> 11 select CRYPTO_CRC32C 8 help 12 help 9 This config option is here only for 13 This config option is here only for backward compatibility. ext3 10 filesystem is now handled by the ext 14 filesystem is now handled by the ext4 driver. 11 15 12 config EXT3_FS_POSIX_ACL 16 config EXT3_FS_POSIX_ACL 13 bool "Ext3 POSIX Access Control Lists" 17 bool "Ext3 POSIX Access Control Lists" 14 depends on EXT3_FS 18 depends on EXT3_FS 15 select EXT4_FS_POSIX_ACL 19 select EXT4_FS_POSIX_ACL 16 select FS_POSIX_ACL 20 select FS_POSIX_ACL 17 help 21 help 18 This config option is here only for 22 This config option is here only for backward compatibility. ext3 19 filesystem is now handled by the ext 23 filesystem is now handled by the ext4 driver. 20 24 21 config EXT3_FS_SECURITY 25 config EXT3_FS_SECURITY 22 bool "Ext3 Security Labels" 26 bool "Ext3 Security Labels" 23 depends on EXT3_FS 27 depends on EXT3_FS 24 select EXT4_FS_SECURITY 28 select EXT4_FS_SECURITY 25 help 29 help 26 This config option is here only for 30 This config option is here only for backward compatibility. ext3 27 filesystem is now handled by the ext 31 filesystem is now handled by the ext4 driver. 28 32 29 config EXT4_FS 33 config EXT4_FS 30 tristate "The Extended 4 (ext4) filesy 34 tristate "The Extended 4 (ext4) filesystem" 31 select BUFFER_HEAD !! 35 # Please update EXT3_FS selects when changing these 32 select JBD2 36 select JBD2 33 select CRC16 37 select CRC16 34 select CRYPTO 38 select CRYPTO 35 select CRYPTO_CRC32C 39 select CRYPTO_CRC32C 36 select FS_IOMAP 40 select FS_IOMAP 37 select FS_ENCRYPTION_ALGS if FS_ENCRYP << 38 help 41 help 39 This is the next generation of the e 42 This is the next generation of the ext3 filesystem. 40 43 41 Unlike the change from ext2 filesyst 44 Unlike the change from ext2 filesystem to ext3 filesystem, 42 the on-disk format of ext4 is not fo 45 the on-disk format of ext4 is not forwards compatible with 43 ext3; it is based on extent maps and 46 ext3; it is based on extent maps and it supports 48-bit 44 physical block numbers. The ext4 fi 47 physical block numbers. The ext4 filesystem also supports delayed 45 allocation, persistent preallocation 48 allocation, persistent preallocation, high resolution time stamps, 46 and a number of other features to im 49 and a number of other features to improve performance and speed 47 up fsck time. For more information, 50 up fsck time. For more information, please see the web pages at 48 http://ext4.wiki.kernel.org. 51 http://ext4.wiki.kernel.org. 49 52 50 The ext4 filesystem supports mountin 53 The ext4 filesystem supports mounting an ext3 filesystem; while there 51 are some performance gains from the 54 are some performance gains from the delayed allocation and inode 52 table readahead, the best performanc 55 table readahead, the best performance gains require enabling ext4 53 features in the filesystem using tun 56 features in the filesystem using tune2fs, or formatting a new 54 filesystem as an ext4 filesystem ini 57 filesystem as an ext4 filesystem initially. Without explicit enabling 55 of ext4 features, the on disk filesy 58 of ext4 features, the on disk filesystem format stays fully backward 56 compatible. 59 compatible. 57 60 58 To compile this file system support 61 To compile this file system support as a module, choose M here. The 59 module will be called ext4. 62 module will be called ext4. 60 63 61 If unsure, say N. 64 If unsure, say N. 62 65 63 config EXT4_USE_FOR_EXT2 66 config EXT4_USE_FOR_EXT2 64 bool "Use ext4 for ext2 file systems" 67 bool "Use ext4 for ext2 file systems" 65 depends on EXT4_FS 68 depends on EXT4_FS 66 depends on EXT2_FS=n 69 depends on EXT2_FS=n 67 default y 70 default y 68 help 71 help 69 Allow the ext4 file system driver co 72 Allow the ext4 file system driver code to be used for ext2 70 file system mounts. This allows use 73 file system mounts. This allows users to reduce their 71 compiled kernel size by using one fi 74 compiled kernel size by using one file system driver for 72 ext2, ext3, and ext4 file systems. 75 ext2, ext3, and ext4 file systems. 73 76 74 config EXT4_FS_POSIX_ACL 77 config EXT4_FS_POSIX_ACL 75 bool "Ext4 POSIX Access Control Lists" 78 bool "Ext4 POSIX Access Control Lists" 76 depends on EXT4_FS 79 depends on EXT4_FS 77 select FS_POSIX_ACL 80 select FS_POSIX_ACL 78 help 81 help 79 POSIX Access Control Lists (ACLs) su 82 POSIX Access Control Lists (ACLs) support permissions for users and 80 groups beyond the owner/group/world 83 groups beyond the owner/group/world scheme. 81 84 82 If you don't know what Access Contro 85 If you don't know what Access Control Lists are, say N 83 86 84 config EXT4_FS_SECURITY 87 config EXT4_FS_SECURITY 85 bool "Ext4 Security Labels" 88 bool "Ext4 Security Labels" 86 depends on EXT4_FS 89 depends on EXT4_FS 87 help 90 help 88 Security labels support alternative 91 Security labels support alternative access control models 89 implemented by security modules like 92 implemented by security modules like SELinux. This option 90 enables an extended attribute handle 93 enables an extended attribute handler for file security 91 labels in the ext4 filesystem. 94 labels in the ext4 filesystem. 92 95 93 If you are not using a security modu 96 If you are not using a security module that requires using 94 extended attributes for file securit 97 extended attributes for file security labels, say N. 95 98 >> 99 config EXT4_ENCRYPTION >> 100 bool "Ext4 Encryption" >> 101 depends on EXT4_FS >> 102 select FS_ENCRYPTION >> 103 help >> 104 Enable encryption of ext4 files and directories. This >> 105 feature is similar to ecryptfs, but it is more memory >> 106 efficient since it avoids caching the encrypted and >> 107 decrypted pages in the page cache. >> 108 >> 109 config EXT4_FS_ENCRYPTION >> 110 bool >> 111 default y >> 112 depends on EXT4_ENCRYPTION >> 113 96 config EXT4_DEBUG 114 config EXT4_DEBUG 97 bool "Ext4 debugging support" !! 115 bool "EXT4 debugging support" 98 depends on EXT4_FS 116 depends on EXT4_FS 99 help 117 help 100 Enables run-time debugging support f 118 Enables run-time debugging support for the ext4 filesystem. 101 119 102 If you select Y here, then you will 120 If you select Y here, then you will be able to turn on debugging 103 using dynamic debug control for mb_d !! 121 with a command such as: 104 !! 122 echo 1 > /sys/module/ext4/parameters/mballoc_debug 105 config EXT4_KUNIT_TESTS << 106 tristate "KUnit tests for ext4" if !KU << 107 depends on EXT4_FS && KUNIT << 108 default KUNIT_ALL_TESTS << 109 help << 110 This builds the ext4 KUnit tests. << 111 << 112 KUnit tests run during boot and outp << 113 in TAP format (https://testanything. << 114 running KUnit test harness and are n << 115 build. << 116 << 117 For more information on KUnit and un << 118 to the KUnit documentation in Docume << 119 << 120 If unsure, say N. <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.