xref: /OK3568_Linux_fs/buildroot/fs/f2fs/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_TARGET_ROOTFS_F2FS
2*4882a593Smuzhiyun	bool "f2fs root filesystem"
3*4882a593Smuzhiyun	select BR2_PACKAGE_HOST_F2FS_TOOLS
4*4882a593Smuzhiyun	help
5*4882a593Smuzhiyun	  Build a f2fs root filesystem. If you enable this option, you
6*4882a593Smuzhiyun	  probably want to enable the f2fs-tools package too.
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunif BR2_TARGET_ROOTFS_F2FS
9*4882a593Smuzhiyun
10*4882a593Smuzhiyunconfig BR2_TARGET_ROOTFS_F2FS_LABEL
11*4882a593Smuzhiyun	string "filesystem label"
12*4882a593Smuzhiyun
13*4882a593Smuzhiyunconfig BR2_TARGET_ROOTFS_F2FS_SIZE
14*4882a593Smuzhiyun	string "filesystem size"
15*4882a593Smuzhiyun	default "100M"
16*4882a593Smuzhiyun	help
17*4882a593Smuzhiyun	  The size of the filesystem image in bytes.
18*4882a593Smuzhiyun	  Suffix with K, M, G or T for power-of-two kilo-, mega-, giga-
19*4882a593Smuzhiyun	  or terabytes.
20*4882a593Smuzhiyun
21*4882a593Smuzhiyunconfig BR2_TARGET_ROOTFS_F2FS_COLD_FILES
22*4882a593Smuzhiyun	string "extension list for cold files"
23*4882a593Smuzhiyun	help
24*4882a593Smuzhiyun	  Specify a comma separated file extension list in order f2fs
25*4882a593Smuzhiyun	  to treat them as cold files. The default list includes most
26*4882a593Smuzhiyun	  of multimedia file extensions such as jpg, gif, mpeg, mkv,
27*4882a593Smuzhiyun	  and so on.
28*4882a593Smuzhiyun
29*4882a593Smuzhiyunconfig BR2_TARGET_ROOTFS_F2FS_HOT_FILES
30*4882a593Smuzhiyun	string "extension list for hot files"
31*4882a593Smuzhiyun	help
32*4882a593Smuzhiyun	  Specify a comma separated file extension list in order f2fs
33*4882a593Smuzhiyun	  to treat them as hot files. The default list includes only
34*4882a593Smuzhiyun	  a db extension.
35*4882a593Smuzhiyun
36*4882a593Smuzhiyunconfig BR2_TARGET_ROOTFS_F2FS_OVERPROVISION
37*4882a593Smuzhiyun	int "overprovision ratio"
38*4882a593Smuzhiyun	default 0
39*4882a593Smuzhiyun	help
40*4882a593Smuzhiyun	  The percentage over the volume size for overprovision
41*4882a593Smuzhiyun	  area. This area is hidden to users, and utilized by F2FS
42*4882a593Smuzhiyun	  cleaner.
43*4882a593Smuzhiyun
44*4882a593Smuzhiyun	  Leave at 0 for autocalculation according to the partition
45*4882a593Smuzhiyun	  size.
46*4882a593Smuzhiyun
47*4882a593Smuzhiyunconfig BR2_TARGET_ROOTFS_F2FS_DISCARD
48*4882a593Smuzhiyun	bool "discard policy"
49*4882a593Smuzhiyun	default y
50*4882a593Smuzhiyun	help
51*4882a593Smuzhiyun	  Enable or disable discard policy.
52*4882a593Smuzhiyun
53*4882a593Smuzhiyunconfig BR2_TARGET_ROOTFS_F2FS_FEATURES
54*4882a593Smuzhiyun	string "filesystem features"
55*4882a593Smuzhiyun	help
56*4882a593Smuzhiyun	  List of features that the F2FS filesystem should support
57*4882a593Smuzhiyun	  (e.g "encrypt")
58*4882a593Smuzhiyun
59*4882a593Smuzhiyunendif # BR2_TARGET_ROOTFS_F2FS
60