]>
Commit | Line | Data |
---|---|---|
a14d5393 | 1 | config F2FS_FS |
d7196c5a | 2 | tristate "F2FS filesystem support" |
573ea5fc | 3 | depends on BLOCK |
43b6573b KM |
4 | select CRYPTO |
5 | select CRYPTO_CRC32 | |
a14d5393 JK |
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 | ||
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 | ||
19 | config 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: | |
e1c42045 | 28 | - major filesystem information managed by f2fs currently |
a14d5393 JK |
29 | - average SIT information about whole segments |
30 | - current memory footprint consumed by f2fs. | |
31 | ||
32 | config 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 | |
38 | the kernel or by users (see the attr(5) manual page, or visit | |
39 | <http://acl.bestbits.at/> for details). | |
40 | ||
41 | If unsure, say N. | |
42 | ||
43 | config F2FS_FS_POSIX_ACL | |
44 | bool "F2FS Access Control Lists" | |
45 | depends on F2FS_FS_XATTR | |
46 | select FS_POSIX_ACL | |
47 | default y | |
48 | help | |
49 | Posix Access Control Lists (ACLs) support permissions for users and | |
217940d4 | 50 | groups beyond the owner/group/world scheme. |
a14d5393 JK |
51 | |
52 | To learn more about Access Control Lists, visit the POSIX ACLs for | |
53 | Linux website <http://acl.bestbits.at/>. | |
54 | ||
55 | If you don't know what Access Control Lists are, say N | |
8ae8f162 JK |
56 | |
57 | config F2FS_FS_SECURITY | |
58 | bool "F2FS Security Labels" | |
59 | depends on F2FS_FS_XATTR | |
60 | help | |
61 | Security labels provide an access control facility to support Linux | |
62 | Security Models (LSMs) accepted by AppArmor, SELinux, Smack and TOMOYO | |
63 | Linux. This option enables an extended attribute handler for file | |
64 | security labels in the f2fs filesystem, so that it requires enabling | |
65 | the extended attribute support in advance. | |
66 | ||
67 | If you are not using a security module, say N. | |
3b218e3a JK |
68 | |
69 | config F2FS_CHECK_FS | |
70 | bool "F2FS consistency checking feature" | |
71 | depends on F2FS_FS | |
72 | help | |
e1c42045 | 73 | Enables BUG_ONs which check the filesystem consistency in runtime. |
3b218e3a JK |
74 | |
75 | If you want to improve the performance, say N. | |
63f92ddc | 76 | |
d33793fb JK |
77 | config F2FS_FS_ENCRYPTION |
78 | bool "F2FS Encryption" | |
79 | depends on F2FS_FS | |
80 | depends on F2FS_FS_XATTR | |
0b81d077 | 81 | select FS_ENCRYPTION |
d33793fb JK |
82 | help |
83 | Enable encryption of f2fs files and directories. This | |
84 | feature is similar to ecryptfs, but it is more memory | |
85 | efficient since it avoids caching the encrypted and | |
86 | decrypted pages in the page cache. | |
87 | ||
63f92ddc JK |
88 | config F2FS_IO_TRACE |
89 | bool "F2FS IO tracer" | |
90 | depends on F2FS_FS | |
91 | depends on FUNCTION_TRACER | |
92 | help | |
93 | F2FS IO trace is based on a function trace, which gathers process | |
94 | information and block IO patterns in the filesystem level. | |
95 | ||
96 | If unsure, say N. | |
73faec4d JK |
97 | |
98 | config F2FS_FAULT_INJECTION | |
99 | bool "F2FS fault injection facility" | |
100 | depends on F2FS_FS | |
101 | help | |
102 | Test F2FS to inject faults such as ENOMEM, ENOSPC, and so on. | |
103 | ||
104 | If unsure, say N. |