Kconfig 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. # Ext3 configs are here for backward compatibility with old configs which may
  3. # have EXT3_FS set but not EXT4_FS set and thus would result in non-bootable
  4. # kernels after the removal of ext3 driver.
  5. config EXT3_FS
  6. tristate "The Extended 3 (ext3) filesystem"
  7. select EXT4_FS
  8. help
  9. This config option is here only for backward compatibility. ext3
  10. filesystem is now handled by the ext4 driver.
  11. config EXT3_FS_POSIX_ACL
  12. bool "Ext3 POSIX Access Control Lists"
  13. depends on EXT3_FS
  14. select EXT4_FS_POSIX_ACL
  15. select FS_POSIX_ACL
  16. help
  17. This config option is here only for backward compatibility. ext3
  18. filesystem is now handled by the ext4 driver.
  19. config EXT3_FS_SECURITY
  20. bool "Ext3 Security Labels"
  21. depends on EXT3_FS
  22. select EXT4_FS_SECURITY
  23. help
  24. This config option is here only for backward compatibility. ext3
  25. filesystem is now handled by the ext4 driver.
  26. config EXT4_FS
  27. tristate "The Extended 4 (ext4) filesystem"
  28. select BUFFER_HEAD
  29. select JBD2
  30. select CRC16
  31. select CRYPTO
  32. select CRYPTO_CRC32C
  33. select FS_IOMAP
  34. select FS_ENCRYPTION_ALGS if FS_ENCRYPTION
  35. help
  36. This is the next generation of the ext3 filesystem.
  37. Unlike the change from ext2 filesystem to ext3 filesystem,
  38. the on-disk format of ext4 is not forwards compatible with
  39. ext3; it is based on extent maps and it supports 48-bit
  40. physical block numbers. The ext4 filesystem also supports delayed
  41. allocation, persistent preallocation, high resolution time stamps,
  42. and a number of other features to improve performance and speed
  43. up fsck time. For more information, please see the web pages at
  44. http://ext4.wiki.kernel.org.
  45. The ext4 filesystem supports mounting an ext3 filesystem; while there
  46. are some performance gains from the delayed allocation and inode
  47. table readahead, the best performance gains require enabling ext4
  48. features in the filesystem using tune2fs, or formatting a new
  49. filesystem as an ext4 filesystem initially. Without explicit enabling
  50. of ext4 features, the on disk filesystem format stays fully backward
  51. compatible.
  52. To compile this file system support as a module, choose M here. The
  53. module will be called ext4.
  54. If unsure, say N.
  55. config EXT4_USE_FOR_EXT2
  56. bool "Use ext4 for ext2 file systems"
  57. depends on EXT4_FS
  58. depends on EXT2_FS=n
  59. default y
  60. help
  61. Allow the ext4 file system driver code to be used for ext2
  62. file system mounts. This allows users to reduce their
  63. compiled kernel size by using one file system driver for
  64. ext2, ext3, and ext4 file systems.
  65. config EXT4_FS_POSIX_ACL
  66. bool "Ext4 POSIX Access Control Lists"
  67. depends on EXT4_FS
  68. select FS_POSIX_ACL
  69. help
  70. POSIX Access Control Lists (ACLs) support permissions for users and
  71. groups beyond the owner/group/world scheme.
  72. If you don't know what Access Control Lists are, say N
  73. config EXT4_FS_SECURITY
  74. bool "Ext4 Security Labels"
  75. depends on EXT4_FS
  76. help
  77. Security labels support alternative access control models
  78. implemented by security modules like SELinux. This option
  79. enables an extended attribute handler for file security
  80. labels in the ext4 filesystem.
  81. If you are not using a security module that requires using
  82. extended attributes for file security labels, say N.
  83. config EXT4_DEBUG
  84. bool "Ext4 debugging support"
  85. depends on EXT4_FS
  86. help
  87. Enables run-time debugging support for the ext4 filesystem.
  88. If you select Y here, then you will be able to turn on debugging
  89. using dynamic debug control for mb_debug() / ext_debug() msgs.
  90. config EXT4_KUNIT_TESTS
  91. tristate "KUnit tests for ext4" if !KUNIT_ALL_TESTS
  92. depends on EXT4_FS && KUNIT
  93. default KUNIT_ALL_TESTS
  94. help
  95. This builds the ext4 KUnit tests.
  96. KUnit tests run during boot and output the results to the debug log
  97. in TAP format (https://testanything.org/). Only useful for kernel devs
  98. running KUnit test harness and are not for inclusion into a production
  99. build.
  100. For more information on KUnit and unit tests in general please refer
  101. to the KUnit documentation in Documentation/dev-tools/kunit/.
  102. If unsure, say N.