Directory Files
.. 79
File Size
Kconfig 3.1 kB
Makefile 439 B
acl.c 9.2 kB
acl.h 1.1 kB
checkpoint.c 42 kB
data.c 79 kB
debug.c 19 kB
dir.c 27 kB
extent_cache.c 20 kB
f2fs.h 120 kB
f2fs.mod.c 0 B
file.c 83 kB
gc.c 40 kB
gc.h 3.0 kB
hash.c 2.9 kB
inline.c 18 kB
inode.c 22 kB
namei.c 30 kB
node.c 78 kB
node.h 12 kB
recovery.c 20 kB
segment.c 118 kB
segment.h 27 kB
shrinker.c 3.2 kB
super.c 99 kB
sysfs.c 22 kB
trace.c 3.5 kB
trace.h 859 B
verity.c 6.7 kB
xattr.c 19 kB
xattr.h 5.1 kB

Linux v5.4-rc8 - f2fs

# SPDX-License-Identifier: GPL-2.0-only
config F2FS_FS
	tristate "F2FS filesystem support"
	depends on BLOCK
	select NLS
	select CRYPTO
	select CRYPTO_CRC32
	  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
	  /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
	bool "F2FS extended attributes"
	depends on F2FS_FS
	default y
	  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.

	bool "F2FS Access Control Lists"
	depends on F2FS_FS_XATTR
	select FS_POSIX_ACL
	default y
	  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

	bool "F2FS Security Labels"
	depends on F2FS_FS_XATTR
	  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.

config F2FS_CHECK_FS
	bool "F2FS consistency checking feature"
	depends on F2FS_FS
	  Enables BUG_ONs which check the filesystem consistency in runtime.

	  If you want to improve the performance, say N.

config F2FS_IO_TRACE
	bool "F2FS IO tracer"
	depends on F2FS_FS
	  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.

	bool "F2FS fault injection facility"
	depends on F2FS_FS
	  Test F2FS to inject faults such as ENOMEM, ENOSPC, and so on.

	  If unsure, say N.