blob: 9a20ef42fadde47167dd38f3bd0e467301fafead [file] [log] [blame]
Jaegeuk Kima14d53932012-11-02 17:25:27 +09001config F2FS_FS
Jaegeuk Kimd7196c52015-03-03 17:06:55 -08002 tristate "F2FS filesystem support"
Jaegeuk Kim573ea5f2012-11-30 17:32:08 +09003 depends on BLOCK
Keith Mok43b65732016-03-02 12:04:24 -08004 select CRYPTO
5 select CRYPTO_CRC32
Jaegeuk Kima14d53932012-11-02 17:25:27 +09006 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
12 Since flash-based storages show different characteristics according to
13 the internal geometry or flash memory management schemes aka FTL, F2FS
14 and tools support various parameters not only for configuring on-disk
15 layout, but also for selecting allocation and cleaning algorithms.
16
17 If unsure, say N.
18
19config F2FS_STAT_FS
20 bool "F2FS Status Information"
21 depends on F2FS_FS && DEBUG_FS
22 default y
23 help
24 /sys/kernel/debug/f2fs/ contains information about all the partitions
25 mounted as f2fs. Each file shows the whole f2fs information.
26
27 /sys/kernel/debug/f2fs/status includes:
arter97e1c42042014-08-06 23:22:50 +090028 - major filesystem information managed by f2fs currently
Jaegeuk Kima14d53932012-11-02 17:25:27 +090029 - average SIT information about whole segments
30 - current memory footprint consumed by f2fs.
31
32config F2FS_FS_XATTR
33 bool "F2FS extended attributes"
34 depends on F2FS_FS
35 default y
36 help
37 Extended attributes are name:value pairs associated with inodes by
Adam Borowski91581e42017-12-20 14:58:52 +010038 the kernel or by users (see the attr(5) manual page for details).
Jaegeuk Kima14d53932012-11-02 17:25:27 +090039
40 If unsure, say N.
41
42config F2FS_FS_POSIX_ACL
43 bool "F2FS Access Control Lists"
44 depends on F2FS_FS_XATTR
45 select FS_POSIX_ACL
46 default y
47 help
48 Posix Access Control Lists (ACLs) support permissions for users and
Junesung Lee217940d2015-08-18 22:42:15 +090049 groups beyond the owner/group/world scheme.
Jaegeuk Kima14d53932012-11-02 17:25:27 +090050
Jaegeuk Kima14d53932012-11-02 17:25:27 +090051 If you don't know what Access Control Lists are, say N
Jaegeuk Kim8ae8f162013-06-03 19:46:19 +090052
53config F2FS_FS_SECURITY
54 bool "F2FS Security Labels"
55 depends on F2FS_FS_XATTR
56 help
57 Security labels provide an access control facility to support Linux
58 Security Models (LSMs) accepted by AppArmor, SELinux, Smack and TOMOYO
59 Linux. This option enables an extended attribute handler for file
60 security labels in the f2fs filesystem, so that it requires enabling
61 the extended attribute support in advance.
62
63 If you are not using a security module, say N.
Jaegeuk Kim3b218e32013-10-29 15:43:01 +090064
65config F2FS_CHECK_FS
66 bool "F2FS consistency checking feature"
67 depends on F2FS_FS
68 help
arter97e1c42042014-08-06 23:22:50 +090069 Enables BUG_ONs which check the filesystem consistency in runtime.
Jaegeuk Kim3b218e32013-10-29 15:43:01 +090070
71 If you want to improve the performance, say N.
Jaegeuk Kim63f92dd2014-12-17 19:45:05 -080072
Jaegeuk Kimd33793f2015-04-10 16:28:26 -070073config F2FS_FS_ENCRYPTION
74 bool "F2FS Encryption"
75 depends on F2FS_FS
76 depends on F2FS_FS_XATTR
Jaegeuk Kim0b81d072015-05-15 16:26:10 -070077 select FS_ENCRYPTION
Jaegeuk Kimd33793f2015-04-10 16:28:26 -070078 help
79 Enable encryption of f2fs files and directories. This
80 feature is similar to ecryptfs, but it is more memory
81 efficient since it avoids caching the encrypted and
82 decrypted pages in the page cache.
83
Jaegeuk Kim63f92dd2014-12-17 19:45:05 -080084config F2FS_IO_TRACE
85 bool "F2FS IO tracer"
86 depends on F2FS_FS
87 depends on FUNCTION_TRACER
88 help
89 F2FS IO trace is based on a function trace, which gathers process
90 information and block IO patterns in the filesystem level.
91
92 If unsure, say N.
Jaegeuk Kim73faec42016-04-29 15:34:32 -070093
94config F2FS_FAULT_INJECTION
95 bool "F2FS fault injection facility"
96 depends on F2FS_FS
97 help
98 Test F2FS to inject faults such as ENOMEM, ENOSPC, and so on.
99
100 If unsure, say N.