Kconfig 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. config F2FS_FS
  2. tristate "F2FS filesystem support"
  3. depends on BLOCK
  4. select CRYPTO
  5. select CRYPTO_CRC32
  6. help
  7. F2FS is based on Log-structured File System (LFS), which supports
  8. versatile "flash-friendly" features. The design has been focused on
  9. addressing the fundamental issues in LFS, which are snowball effect
  10. of wandering tree and high cleaning overhead.
  11. Since flash-based storages show different characteristics according to
  12. the internal geometry or flash memory management schemes aka FTL, F2FS
  13. and tools support various parameters not only for configuring on-disk
  14. layout, but also for selecting allocation and cleaning algorithms.
  15. If unsure, say N.
  16. config F2FS_STAT_FS
  17. bool "F2FS Status Information"
  18. depends on F2FS_FS && DEBUG_FS
  19. default y
  20. help
  21. /sys/kernel/debug/f2fs/ contains information about all the partitions
  22. mounted as f2fs. Each file shows the whole f2fs information.
  23. /sys/kernel/debug/f2fs/status includes:
  24. - major filesystem information managed by f2fs currently
  25. - average SIT information about whole segments
  26. - current memory footprint consumed by f2fs.
  27. config F2FS_FS_XATTR
  28. bool "F2FS extended attributes"
  29. depends on F2FS_FS
  30. default y
  31. help
  32. Extended attributes are name:value pairs associated with inodes by
  33. the kernel or by users (see the attr(5) manual page, or visit
  34. <http://acl.bestbits.at/> for details).
  35. If unsure, say N.
  36. config F2FS_FS_POSIX_ACL
  37. bool "F2FS Access Control Lists"
  38. depends on F2FS_FS_XATTR
  39. select FS_POSIX_ACL
  40. default y
  41. help
  42. Posix Access Control Lists (ACLs) support permissions for users and
  43. groups beyond the owner/group/world scheme.
  44. To learn more about Access Control Lists, visit the POSIX ACLs for
  45. Linux website <http://acl.bestbits.at/>.
  46. If you don't know what Access Control Lists are, say N
  47. config F2FS_FS_SECURITY
  48. bool "F2FS Security Labels"
  49. depends on F2FS_FS_XATTR
  50. help
  51. Security labels provide an access control facility to support Linux
  52. Security Models (LSMs) accepted by AppArmor, SELinux, Smack and TOMOYO
  53. Linux. This option enables an extended attribute handler for file
  54. security labels in the f2fs filesystem, so that it requires enabling
  55. the extended attribute support in advance.
  56. If you are not using a security module, say N.
  57. config F2FS_CHECK_FS
  58. bool "F2FS consistency checking feature"
  59. depends on F2FS_FS
  60. help
  61. Enables BUG_ONs which check the filesystem consistency in runtime.
  62. If you want to improve the performance, say N.
  63. config F2FS_FS_ENCRYPTION
  64. bool "F2FS Encryption"
  65. depends on F2FS_FS
  66. depends on F2FS_FS_XATTR
  67. select FS_ENCRYPTION
  68. help
  69. Enable encryption of f2fs files and directories. This
  70. feature is similar to ecryptfs, but it is more memory
  71. efficient since it avoids caching the encrypted and
  72. decrypted pages in the page cache.
  73. config F2FS_IO_TRACE
  74. bool "F2FS IO tracer"
  75. depends on F2FS_FS
  76. depends on FUNCTION_TRACER
  77. help
  78. F2FS IO trace is based on a function trace, which gathers process
  79. information and block IO patterns in the filesystem level.
  80. If unsure, say N.
  81. config F2FS_FAULT_INJECTION
  82. bool "F2FS fault injection facility"
  83. depends on F2FS_FS
  84. help
  85. Test F2FS to inject faults such as ENOMEM, ENOSPC, and so on.
  86. If unsure, say N.