Kconfig 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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 for details).
  34. If unsure, say N.
  35. config F2FS_FS_POSIX_ACL
  36. bool "F2FS Access Control Lists"
  37. depends on F2FS_FS_XATTR
  38. select FS_POSIX_ACL
  39. default y
  40. help
  41. Posix Access Control Lists (ACLs) support permissions for users and
  42. groups beyond the owner/group/world scheme.
  43. If you don't know what Access Control Lists are, say N
  44. config F2FS_FS_SECURITY
  45. bool "F2FS Security Labels"
  46. depends on F2FS_FS_XATTR
  47. help
  48. Security labels provide an access control facility to support Linux
  49. Security Models (LSMs) accepted by AppArmor, SELinux, Smack and TOMOYO
  50. Linux. This option enables an extended attribute handler for file
  51. security labels in the f2fs filesystem, so that it requires enabling
  52. the extended attribute support in advance.
  53. If you are not using a security module, say N.
  54. config F2FS_CHECK_FS
  55. bool "F2FS consistency checking feature"
  56. depends on F2FS_FS
  57. help
  58. Enables BUG_ONs which check the filesystem consistency in runtime.
  59. If you want to improve the performance, say N.
  60. config F2FS_FS_ENCRYPTION
  61. bool "F2FS Encryption"
  62. depends on F2FS_FS
  63. depends on F2FS_FS_XATTR
  64. select FS_ENCRYPTION
  65. help
  66. Enable encryption of f2fs files and directories. This
  67. feature is similar to ecryptfs, but it is more memory
  68. efficient since it avoids caching the encrypted and
  69. decrypted pages in the page cache.
  70. config F2FS_IO_TRACE
  71. bool "F2FS IO tracer"
  72. depends on F2FS_FS
  73. depends on FUNCTION_TRACER
  74. help
  75. F2FS IO trace is based on a function trace, which gathers process
  76. information and block IO patterns in the filesystem level.
  77. If unsure, say N.
  78. config F2FS_FAULT_INJECTION
  79. bool "F2FS fault injection facility"
  80. depends on F2FS_FS
  81. help
  82. Test F2FS to inject faults such as ENOMEM, ENOSPC, and so on.
  83. If unsure, say N.