Kconfig 3.1 KB

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