1 # SPDX-License-Identifier: GPL-2.0-only << 2 config F2FS_FS 1 config F2FS_FS 3 tristate "F2FS filesystem support" 2 tristate "F2FS filesystem support" 4 depends on BLOCK 3 depends on BLOCK 5 select BUFFER_HEAD << 6 select NLS << 7 select CRYPTO << 8 select CRYPTO_CRC32 << 9 select F2FS_FS_XATTR if FS_ENCRYPTION << 10 select FS_ENCRYPTION_ALGS if FS_ENCRYP << 11 select FS_IOMAP << 12 select LZ4_COMPRESS if F2FS_FS_LZ4 << 13 select LZ4_DECOMPRESS if F2FS_FS_LZ4 << 14 select LZ4HC_COMPRESS if F2FS_FS_LZ4HC << 15 select LZO_COMPRESS if F2FS_FS_LZO << 16 select LZO_DECOMPRESS if F2FS_FS_LZO << 17 select ZSTD_COMPRESS if F2FS_FS_ZSTD << 18 select ZSTD_DECOMPRESS if F2FS_FS_ZSTD << 19 help 4 help 20 F2FS is based on Log-structured File 5 F2FS is based on Log-structured File System (LFS), which supports 21 versatile "flash-friendly" features. 6 versatile "flash-friendly" features. The design has been focused on 22 addressing the fundamental issues in 7 addressing the fundamental issues in LFS, which are snowball effect 23 of wandering tree and high cleaning 8 of wandering tree and high cleaning overhead. 24 9 25 Since flash-based storages show diff 10 Since flash-based storages show different characteristics according to 26 the internal geometry or flash memor 11 the internal geometry or flash memory management schemes aka FTL, F2FS 27 and tools support various parameters 12 and tools support various parameters not only for configuring on-disk 28 layout, but also for selecting alloc 13 layout, but also for selecting allocation and cleaning algorithms. 29 14 30 If unsure, say N. 15 If unsure, say N. 31 16 32 config F2FS_STAT_FS 17 config F2FS_STAT_FS 33 bool "F2FS Status Information" 18 bool "F2FS Status Information" 34 depends on F2FS_FS !! 19 depends on F2FS_FS && DEBUG_FS 35 default y 20 default y 36 help 21 help 37 /sys/kernel/debug/f2fs/ contains inf 22 /sys/kernel/debug/f2fs/ contains information about all the partitions 38 mounted as f2fs. Each file shows the 23 mounted as f2fs. Each file shows the whole f2fs information. 39 24 40 /sys/kernel/debug/f2fs/status includ 25 /sys/kernel/debug/f2fs/status includes: 41 - major filesystem information man 26 - major filesystem information managed by f2fs currently 42 - average SIT information about wh 27 - average SIT information about whole segments 43 - current memory footprint consume 28 - current memory footprint consumed by f2fs. 44 29 45 config F2FS_FS_XATTR 30 config F2FS_FS_XATTR 46 bool "F2FS extended attributes" 31 bool "F2FS extended attributes" 47 depends on F2FS_FS 32 depends on F2FS_FS 48 default y 33 default y 49 help 34 help 50 Extended attributes are name:value p 35 Extended attributes are name:value pairs associated with inodes by 51 the kernel or by users (see the attr !! 36 the kernel or by users (see the attr(5) manual page, or visit >> 37 <http://acl.bestbits.at/> for details). 52 38 53 If unsure, say N. 39 If unsure, say N. 54 40 55 config F2FS_FS_POSIX_ACL 41 config F2FS_FS_POSIX_ACL 56 bool "F2FS Access Control Lists" 42 bool "F2FS Access Control Lists" 57 depends on F2FS_FS_XATTR 43 depends on F2FS_FS_XATTR 58 select FS_POSIX_ACL 44 select FS_POSIX_ACL 59 default y 45 default y 60 help 46 help 61 Posix Access Control Lists (ACLs) su 47 Posix Access Control Lists (ACLs) support permissions for users and 62 groups beyond the owner/group/world 48 groups beyond the owner/group/world scheme. 63 49 >> 50 To learn more about Access Control Lists, visit the POSIX ACLs for >> 51 Linux website <http://acl.bestbits.at/>. >> 52 64 If you don't know what Access Contro 53 If you don't know what Access Control Lists are, say N 65 54 66 config F2FS_FS_SECURITY 55 config F2FS_FS_SECURITY 67 bool "F2FS Security Labels" 56 bool "F2FS Security Labels" 68 depends on F2FS_FS_XATTR 57 depends on F2FS_FS_XATTR 69 help 58 help 70 Security labels provide an access co 59 Security labels provide an access control facility to support Linux 71 Security Models (LSMs) accepted by A 60 Security Models (LSMs) accepted by AppArmor, SELinux, Smack and TOMOYO 72 Linux. This option enables an extend 61 Linux. This option enables an extended attribute handler for file 73 security labels in the f2fs filesyst 62 security labels in the f2fs filesystem, so that it requires enabling 74 the extended attribute support in ad !! 63 the extended attribute support in advance. 75 option if you use the setcap command << 76 lities to executables (the security. << 77 64 78 If you are not using a security modu 65 If you are not using a security module, say N. 79 66 80 config F2FS_CHECK_FS 67 config F2FS_CHECK_FS 81 bool "F2FS consistency checking featur 68 bool "F2FS consistency checking feature" 82 depends on F2FS_FS 69 depends on F2FS_FS 83 help 70 help 84 Enables BUG_ONs which check the file 71 Enables BUG_ONs which check the filesystem consistency in runtime. 85 72 86 If you want to improve the performan 73 If you want to improve the performance, say N. 87 74 88 config F2FS_FAULT_INJECTION !! 75 config F2FS_FS_ENCRYPTION 89 bool "F2FS fault injection facility" !! 76 bool "F2FS Encryption" 90 depends on F2FS_FS 77 depends on F2FS_FS 91 help !! 78 depends on F2FS_FS_XATTR 92 Test F2FS to inject faults such as E !! 79 select CRYPTO_AES 93 !! 80 select CRYPTO_CBC 94 If unsure, say N. !! 81 select CRYPTO_ECB >> 82 select CRYPTO_XTS >> 83 select CRYPTO_CTS >> 84 select CRYPTO_CTR >> 85 select CRYPTO_SHA256 >> 86 select KEYS >> 87 select ENCRYPTED_KEYS >> 88 help >> 89 Enable encryption of f2fs files and directories. This >> 90 feature is similar to ecryptfs, but it is more memory >> 91 efficient since it avoids caching the encrypted and >> 92 decrypted pages in the page cache. 95 93 96 config F2FS_FS_COMPRESSION !! 94 config F2FS_IO_TRACE 97 bool "F2FS compression feature" !! 95 bool "F2FS IO tracer" 98 depends on F2FS_FS 96 depends on F2FS_FS >> 97 depends on FUNCTION_TRACER 99 help 98 help 100 Enable filesystem-level compression !! 99 F2FS IO trace is based on a function trace, which gathers process 101 multiple back-end compression algori !! 100 information and block IO patterns in the filesystem level. 102 << 103 config F2FS_FS_LZO << 104 bool "LZO compression support" << 105 depends on F2FS_FS_COMPRESSION << 106 default y << 107 help << 108 Support LZO compress algorithm, if u << 109 << 110 config F2FS_FS_LZORLE << 111 bool "LZO-RLE compression support" << 112 depends on F2FS_FS_LZO << 113 default y << 114 help << 115 Support LZO-RLE compress algorithm, << 116 << 117 config F2FS_FS_LZ4 << 118 bool "LZ4 compression support" << 119 depends on F2FS_FS_COMPRESSION << 120 default y << 121 help << 122 Support LZ4 compress algorithm, if u << 123 101 124 config F2FS_FS_LZ4HC !! 102 If unsure, say N. 125 bool "LZ4HC compression support" << 126 depends on F2FS_FS_LZ4 << 127 default y << 128 help << 129 Support LZ4HC compress algorithm, LZ << 130 layout with LZ4, if unsure, say Y. << 131 << 132 config F2FS_FS_ZSTD << 133 bool "ZSTD compression support" << 134 depends on F2FS_FS_COMPRESSION << 135 default y << 136 help << 137 Support ZSTD compress algorithm, if << 138 << 139 config F2FS_IOSTAT << 140 bool "F2FS IO statistics information" << 141 depends on F2FS_FS << 142 default y << 143 help << 144 Support getting IO statistics throug << 145 IO statistics tracepoint events. You << 146 sysfs node to enable this feature. << 147 << 148 config F2FS_UNFAIR_RWSEM << 149 bool "F2FS unfair rw_semaphore" << 150 depends on F2FS_FS && BLK_CGROUP << 151 help << 152 Use unfair rw_semaphore, if system c << 153 cgroup. <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.