xref: /openbmc/linux/fs/f2fs/Kconfig (revision a14d5393)
1*a14d5393SJaegeuk Kimconfig F2FS_FS
2*a14d5393SJaegeuk Kim	tristate "F2FS filesystem support (EXPERIMENTAL)"
3*a14d5393SJaegeuk Kim	help
4*a14d5393SJaegeuk Kim	  F2FS is based on Log-structured File System (LFS), which supports
5*a14d5393SJaegeuk Kim	  versatile "flash-friendly" features. The design has been focused on
6*a14d5393SJaegeuk Kim	  addressing the fundamental issues in LFS, which are snowball effect
7*a14d5393SJaegeuk Kim	  of wandering tree and high cleaning overhead.
8*a14d5393SJaegeuk Kim
9*a14d5393SJaegeuk Kim	  Since flash-based storages show different characteristics according to
10*a14d5393SJaegeuk Kim	  the internal geometry or flash memory management schemes aka FTL, F2FS
11*a14d5393SJaegeuk Kim	  and tools support various parameters not only for configuring on-disk
12*a14d5393SJaegeuk Kim	  layout, but also for selecting allocation and cleaning algorithms.
13*a14d5393SJaegeuk Kim
14*a14d5393SJaegeuk Kim	  If unsure, say N.
15*a14d5393SJaegeuk Kim
16*a14d5393SJaegeuk Kimconfig F2FS_STAT_FS
17*a14d5393SJaegeuk Kim	bool "F2FS Status Information"
18*a14d5393SJaegeuk Kim	depends on F2FS_FS && DEBUG_FS
19*a14d5393SJaegeuk Kim	default y
20*a14d5393SJaegeuk Kim	help
21*a14d5393SJaegeuk Kim	  /sys/kernel/debug/f2fs/ contains information about all the partitions
22*a14d5393SJaegeuk Kim	  mounted as f2fs. Each file shows the whole f2fs information.
23*a14d5393SJaegeuk Kim
24*a14d5393SJaegeuk Kim	  /sys/kernel/debug/f2fs/status includes:
25*a14d5393SJaegeuk Kim	    - major file system information managed by f2fs currently
26*a14d5393SJaegeuk Kim	    - average SIT information about whole segments
27*a14d5393SJaegeuk Kim	    - current memory footprint consumed by f2fs.
28*a14d5393SJaegeuk Kim
29*a14d5393SJaegeuk Kimconfig F2FS_FS_XATTR
30*a14d5393SJaegeuk Kim	bool "F2FS extended attributes"
31*a14d5393SJaegeuk Kim	depends on F2FS_FS
32*a14d5393SJaegeuk Kim	default y
33*a14d5393SJaegeuk Kim	help
34*a14d5393SJaegeuk Kim	  Extended attributes are name:value pairs associated with inodes by
35*a14d5393SJaegeuk Kim	  the kernel or by users (see the attr(5) manual page, or visit
36*a14d5393SJaegeuk Kim	  <http://acl.bestbits.at/> for details).
37*a14d5393SJaegeuk Kim
38*a14d5393SJaegeuk Kim	  If unsure, say N.
39*a14d5393SJaegeuk Kim
40*a14d5393SJaegeuk Kimconfig F2FS_FS_POSIX_ACL
41*a14d5393SJaegeuk Kim	bool "F2FS Access Control Lists"
42*a14d5393SJaegeuk Kim	depends on F2FS_FS_XATTR
43*a14d5393SJaegeuk Kim	select FS_POSIX_ACL
44*a14d5393SJaegeuk Kim	default y
45*a14d5393SJaegeuk Kim	help
46*a14d5393SJaegeuk Kim	  Posix Access Control Lists (ACLs) support permissions for users and
47*a14d5393SJaegeuk Kim	  gourps beyond the owner/group/world scheme.
48*a14d5393SJaegeuk Kim
49*a14d5393SJaegeuk Kim	  To learn more about Access Control Lists, visit the POSIX ACLs for
50*a14d5393SJaegeuk Kim	  Linux website <http://acl.bestbits.at/>.
51*a14d5393SJaegeuk Kim
52*a14d5393SJaegeuk Kim	  If you don't know what Access Control Lists are, say N
53