~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/fs/f2fs/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /fs/f2fs/Kconfig (Version linux-6.12-rc7) and /fs/f2fs/Kconfig (Version linux-6.3.13)


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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php