CONFIG_F2FS_FS F2FS filesystem support
- Off
- Module
- Built in
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.
- Depends on
BLOCK - Selects
BUFFER_HEAD if BLOCK - Selects
NLS if BLOCK - Selects
CRC32 if BLOCK - Selects
F2FS_FS_XATTR if BLOCK && FS_ENCRYPTION - Selects
FS_ENCRYPTION_ALGS if BLOCK && FS_ENCRYPTION - Selects
FS_IOMAP if BLOCK - Selects
LZ4_COMPRESS if BLOCK && F2FS_FS_LZ4 - Selects
LZ4_DECOMPRESS if BLOCK && F2FS_FS_LZ4 - Selects
LZ4HC_COMPRESS if BLOCK && F2FS_FS_LZ4HC - Selects
LZO_COMPRESS if BLOCK && F2FS_FS_LZO - Selects
LZO_DECOMPRESS if BLOCK && F2FS_FS_LZO - Selects
ZSTD_COMPRESS if BLOCK && F2FS_FS_ZSTD - Selects
ZSTD_DECOMPRESS if BLOCK && F2FS_FS_ZSTD
If F2FS_FS
CONFIG_F2FS_STAT_FS F2FS Status Information
/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: - major filesystem information managed by f2fs currently - average SIT information about whole segments - current memory footprint consumed by f2fs.
CONFIG_F2FS_FS_XATTR F2FS extended attributes
Extended attributes are name:value pairs associated with inodes by the kernel or by users (see the attr(5) manual page for details).
If unsure, say N.
If F2FS_FS_XATTR
CONFIG_F2FS_FS_POSIX_ACL F2FS Access Control Lists
Posix Access Control Lists (ACLs) support permissions for users and groups beyond the owner/group/world scheme.
If you don't know what Access Control Lists are, say N
- Depends on
BLOCK && F2FS_FS_XATTR - Selects
FS_POSIX_ACL if BLOCK && F2FS_FS_XATTR
CONFIG_F2FS_FS_SECURITY F2FS Security Labels
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. In particular you need this option if you use the setcap command to assign initial process capabi- lities to executables (the security.* extended attributes).
If you are not using a security module, say N.
- Depends on
BLOCK && F2FS_FS_XATTR
CONFIG_F2FS_CHECK_FS F2FS consistency checking feature
Enables BUG_ONs which check the filesystem consistency in runtime.
If you want to improve the performance, say N.
CONFIG_F2FS_FAULT_INJECTION F2FS fault injection facility
Test F2FS to inject faults such as ENOMEM, ENOSPC, and so on.
If unsure, say N.
CONFIG_F2FS_FS_COMPRESSION F2FS compression feature
Enable filesystem-level compression on f2fs regular files, multiple back-end compression algorithms are supported.
If F2FS_FS_COMPRESSION
CONFIG_F2FS_FS_LZO LZO compression support
Support LZO compress algorithm, if unsure, say Y.
- Depends on
BLOCK && F2FS_FS_COMPRESSION
If F2FS_FS_LZO
CONFIG_F2FS_FS_LZORLE LZO-RLE compression support
Support LZO-RLE compress algorithm, if unsure, say Y.
- Depends on
BLOCK && F2FS_FS_LZO
CONFIG_F2FS_FS_LZ4 LZ4 compression support
Support LZ4 compress algorithm, if unsure, say Y.
- Depends on
BLOCK && F2FS_FS_COMPRESSION
If F2FS_FS_LZ4
CONFIG_F2FS_FS_LZ4HC LZ4HC compression support
Support LZ4HC compress algorithm, LZ4HC has compatible on-disk layout with LZ4, if unsure, say Y.
- Depends on
BLOCK && F2FS_FS_LZ4
CONFIG_F2FS_FS_ZSTD ZSTD compression support
Support ZSTD compress algorithm, if unsure, say Y.
- Depends on
BLOCK && F2FS_FS_COMPRESSION
CONFIG_F2FS_IOSTAT F2FS IO statistics information
Support getting IO statistics through sysfs and printing out periodic IO statistics tracepoint events. You have to turn on "iostat_enable" sysfs node to enable this feature.
CONFIG_F2FS_UNFAIR_RWSEM F2FS unfair rw_semaphore
Use unfair rw_semaphore, if system configured IO priority by block cgroup.
- Depends on
BLOCK && F2FS_FS && BLK_CGROUP