Kconfig 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. # 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.
  4. config 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. config EXT3_FS_POSIX_ACL
  16. bool "Ext3 POSIX Access Control Lists"
  17. depends on EXT3_FS
  18. select EXT4_FS_POSIX_ACL
  19. select FS_POSIX_ACL
  20. help
  21. This config option is here only for backward compatibility. ext3
  22. filesystem is now handled by the ext4 driver.
  23. config EXT3_FS_SECURITY
  24. bool "Ext3 Security Labels"
  25. depends on EXT3_FS
  26. select EXT4_FS_SECURITY
  27. help
  28. This config option is here only for backward compatibility. ext3
  29. filesystem is now handled by the ext4 driver.
  30. config EXT4_FS
  31. tristate "The Extended 4 (ext4) filesystem"
  32. # Please update EXT3_FS selects when changing these
  33. select JBD2
  34. select CRC16
  35. select CRYPTO
  36. select CRYPTO_CRC32C
  37. select FS_IOMAP
  38. help
  39. This is the next generation of the ext3 filesystem.
  40. Unlike the change from ext2 filesystem to ext3 filesystem,
  41. the on-disk format of ext4 is not forwards compatible with
  42. ext3; it is based on extent maps and it supports 48-bit
  43. physical block numbers. The ext4 filesystem also supports delayed
  44. allocation, persistent preallocation, high resolution time stamps,
  45. and a number of other features to improve performance and speed
  46. up fsck time. For more information, please see the web pages at
  47. http://ext4.wiki.kernel.org.
  48. The ext4 filesystem supports mounting an ext3 filesystem; while there
  49. are some performance gains from the delayed allocation and inode
  50. table readahead, the best performance gains require enabling ext4
  51. features in the filesystem using tune2fs, or formatting a new
  52. filesystem as an ext4 filesystem initially. Without explicit enabling
  53. of ext4 features, the on disk filesystem format stays fully backward
  54. compatible.
  55. To compile this file system support as a module, choose M here. The
  56. module will be called ext4.
  57. If unsure, say N.
  58. config EXT4_USE_FOR_EXT2
  59. bool "Use ext4 for ext2 file systems"
  60. depends on EXT4_FS
  61. depends on EXT2_FS=n
  62. default y
  63. help
  64. Allow the ext4 file system driver code to be used for ext2
  65. file system mounts. This allows users to reduce their
  66. compiled kernel size by using one file system driver for
  67. ext2, ext3, and ext4 file systems.
  68. config EXT4_FS_POSIX_ACL
  69. bool "Ext4 POSIX Access Control Lists"
  70. depends on EXT4_FS
  71. select FS_POSIX_ACL
  72. help
  73. POSIX Access Control Lists (ACLs) support permissions for users and
  74. groups beyond the owner/group/world scheme.
  75. If you don't know what Access Control Lists are, say N
  76. config EXT4_FS_SECURITY
  77. bool "Ext4 Security Labels"
  78. depends on EXT4_FS
  79. help
  80. Security labels support alternative access control models
  81. implemented by security modules like SELinux. This option
  82. enables an extended attribute handler for file security
  83. labels in the ext4 filesystem.
  84. If you are not using a security module that requires using
  85. extended attributes for file security labels, say N.
  86. config EXT4_ENCRYPTION
  87. bool "Ext4 Encryption"
  88. depends on EXT4_FS
  89. select FS_ENCRYPTION
  90. help
  91. Enable encryption of ext4 files and directories. This
  92. feature is similar to ecryptfs, but it is more memory
  93. efficient since it avoids caching the encrypted and
  94. decrypted pages in the page cache.
  95. config EXT4_FS_ENCRYPTION
  96. bool
  97. default y
  98. depends on EXT4_ENCRYPTION
  99. config EXT4_DEBUG
  100. bool "EXT4 debugging support"
  101. depends on EXT4_FS
  102. help
  103. Enables run-time debugging support for the ext4 filesystem.
  104. If you select Y here, then you will be able to turn on debugging
  105. with a command such as:
  106. echo 1 > /sys/module/ext4/parameters/mballoc_debug