2012-11-02 16:25:27 +08:00
|
|
|
config F2FS_FS
|
2015-03-04 09:06:55 +08:00
|
|
|
tristate "F2FS filesystem support"
|
2012-11-30 16:32:08 +08:00
|
|
|
depends on BLOCK
|
2016-03-03 04:04:24 +08:00
|
|
|
select CRYPTO
|
|
|
|
select CRYPTO_CRC32
|
2012-11-02 16:25:27 +08:00
|
|
|
help
|
|
|
|
F2FS is based on Log-structured File System (LFS), which supports
|
|
|
|
versatile "flash-friendly" features. The design has been focused on
|
|
|
|
addressing the fundamental issues in LFS, which are snowball effect
|
|
|
|
of wandering tree and high cleaning overhead.
|
|
|
|
|
|
|
|
Since flash-based storages show different characteristics according to
|
|
|
|
the internal geometry or flash memory management schemes aka FTL, F2FS
|
|
|
|
and tools support various parameters not only for configuring on-disk
|
|
|
|
layout, but also for selecting allocation and cleaning algorithms.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config F2FS_STAT_FS
|
|
|
|
bool "F2FS Status Information"
|
|
|
|
depends on F2FS_FS && DEBUG_FS
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
/sys/kernel/debug/f2fs/ contains information about all the partitions
|
|
|
|
mounted as f2fs. Each file shows the whole f2fs information.
|
|
|
|
|
|
|
|
/sys/kernel/debug/f2fs/status includes:
|
2014-08-06 22:22:50 +08:00
|
|
|
- major filesystem information managed by f2fs currently
|
2012-11-02 16:25:27 +08:00
|
|
|
- average SIT information about whole segments
|
|
|
|
- current memory footprint consumed by f2fs.
|
|
|
|
|
|
|
|
config F2FS_FS_XATTR
|
|
|
|
bool "F2FS extended attributes"
|
|
|
|
depends on F2FS_FS
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Extended attributes are name:value pairs associated with inodes by
|
2017-12-20 21:58:52 +08:00
|
|
|
the kernel or by users (see the attr(5) manual page for details).
|
2012-11-02 16:25:27 +08:00
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config F2FS_FS_POSIX_ACL
|
|
|
|
bool "F2FS Access Control Lists"
|
|
|
|
depends on F2FS_FS_XATTR
|
|
|
|
select FS_POSIX_ACL
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Posix Access Control Lists (ACLs) support permissions for users and
|
2015-08-18 21:42:15 +08:00
|
|
|
groups beyond the owner/group/world scheme.
|
2012-11-02 16:25:27 +08:00
|
|
|
|
|
|
|
If you don't know what Access Control Lists are, say N
|
2013-06-03 18:46:19 +08:00
|
|
|
|
|
|
|
config F2FS_FS_SECURITY
|
|
|
|
bool "F2FS Security Labels"
|
|
|
|
depends on F2FS_FS_XATTR
|
|
|
|
help
|
|
|
|
Security labels provide an access control facility to support Linux
|
|
|
|
Security Models (LSMs) accepted by AppArmor, SELinux, Smack and TOMOYO
|
|
|
|
Linux. This option enables an extended attribute handler for file
|
|
|
|
security labels in the f2fs filesystem, so that it requires enabling
|
|
|
|
the extended attribute support in advance.
|
|
|
|
|
|
|
|
If you are not using a security module, say N.
|
2013-10-29 14:43:01 +08:00
|
|
|
|
|
|
|
config F2FS_CHECK_FS
|
|
|
|
bool "F2FS consistency checking feature"
|
|
|
|
depends on F2FS_FS
|
|
|
|
help
|
2014-08-06 22:22:50 +08:00
|
|
|
Enables BUG_ONs which check the filesystem consistency in runtime.
|
2013-10-29 14:43:01 +08:00
|
|
|
|
|
|
|
If you want to improve the performance, say N.
|
2014-12-18 11:45:05 +08:00
|
|
|
|
2015-04-11 07:28:26 +08:00
|
|
|
config F2FS_FS_ENCRYPTION
|
|
|
|
bool "F2FS Encryption"
|
|
|
|
depends on F2FS_FS
|
|
|
|
depends on F2FS_FS_XATTR
|
2015-05-16 07:26:10 +08:00
|
|
|
select FS_ENCRYPTION
|
2015-04-11 07:28:26 +08:00
|
|
|
help
|
|
|
|
Enable encryption of f2fs files and directories. This
|
|
|
|
feature is similar to ecryptfs, but it is more memory
|
|
|
|
efficient since it avoids caching the encrypted and
|
|
|
|
decrypted pages in the page cache.
|
|
|
|
|
2014-12-18 11:45:05 +08:00
|
|
|
config F2FS_IO_TRACE
|
|
|
|
bool "F2FS IO tracer"
|
|
|
|
depends on F2FS_FS
|
|
|
|
depends on FUNCTION_TRACER
|
|
|
|
help
|
|
|
|
F2FS IO trace is based on a function trace, which gathers process
|
|
|
|
information and block IO patterns in the filesystem level.
|
|
|
|
|
|
|
|
If unsure, say N.
|
2016-04-30 06:34:32 +08:00
|
|
|
|
|
|
|
config F2FS_FAULT_INJECTION
|
|
|
|
bool "F2FS fault injection facility"
|
|
|
|
depends on F2FS_FS
|
|
|
|
help
|
|
|
|
Test F2FS to inject faults such as ENOMEM, ENOSPC, and so on.
|
|
|
|
|
|
|
|
If unsure, say N.
|