1What:		/sys/fs/f2fs/<disk>/gc_max_sleep_time
2Date:		July 2013
3Contact:	"Namjae Jeon" <namjae.jeon@samsung.com>
4Description:
5		 Controls the maximun sleep time for gc_thread. Time
6		 is in milliseconds.
7
8What:		/sys/fs/f2fs/<disk>/gc_min_sleep_time
9Date:		July 2013
10Contact:	"Namjae Jeon" <namjae.jeon@samsung.com>
11Description:
12		 Controls the minimum sleep time for gc_thread. Time
13		 is in milliseconds.
14
15What:		/sys/fs/f2fs/<disk>/gc_no_gc_sleep_time
16Date:		July 2013
17Contact:	"Namjae Jeon" <namjae.jeon@samsung.com>
18Description:
19		 Controls the default sleep time for gc_thread. Time
20		 is in milliseconds.
21
22What:		/sys/fs/f2fs/<disk>/gc_idle
23Date:		July 2013
24Contact:	"Namjae Jeon" <namjae.jeon@samsung.com>
25Description:
26		 Controls the victim selection policy for garbage collection.
27
28What:		/sys/fs/f2fs/<disk>/reclaim_segments
29Date:		October 2013
30Contact:	"Jaegeuk Kim" <jaegeuk.kim@samsung.com>
31Description:
32		 Controls the issue rate of segment discard commands.
33
34What:		/sys/fs/f2fs/<disk>/ipu_policy
35Date:		November 2013
36Contact:	"Jaegeuk Kim" <jaegeuk.kim@samsung.com>
37Description:
38		 Controls the in-place-update policy.
39
40What:		/sys/fs/f2fs/<disk>/min_ipu_util
41Date:		November 2013
42Contact:	"Jaegeuk Kim" <jaegeuk.kim@samsung.com>
43Description:
44		 Controls the FS utilization condition for the in-place-update
45		 policies.
46
47What:		/sys/fs/f2fs/<disk>/min_fsync_blocks
48Date:		September 2014
49Contact:	"Jaegeuk Kim" <jaegeuk@kernel.org>
50Description:
51		 Controls the dirty page count condition for the in-place-update
52		 policies.
53
54What:		/sys/fs/f2fs/<disk>/min_hot_blocks
55Date:		March 2017
56Contact:	"Jaegeuk Kim" <jaegeuk@kernel.org>
57Description:
58		 Controls the dirty page count condition for redefining hot data.
59
60What:		/sys/fs/f2fs/<disk>/min_ssr_sections
61Date:		October 2017
62Contact:	"Chao Yu" <yuchao0@huawei.com>
63Description:
64		 Controls the fee section threshold to trigger SSR allocation.
65
66What:		/sys/fs/f2fs/<disk>/max_small_discards
67Date:		November 2013
68Contact:	"Jaegeuk Kim" <jaegeuk.kim@samsung.com>
69Description:
70		 Controls the issue rate of small discard commands.
71
72What:          /sys/fs/f2fs/<disk>/discard_granularity
73Date:          July 2017
74Contact:       "Chao Yu" <yuchao0@huawei.com>
75Description:
76		Controls discard granularity of inner discard thread, inner thread
77		will not issue discards with size that is smaller than granularity.
78		The unit size is one block, now only support configuring in range
79		of [1, 512].
80
81What:		/sys/fs/f2fs/<disk>/max_victim_search
82Date:		January 2014
83Contact:	"Jaegeuk Kim" <jaegeuk.kim@samsung.com>
84Description:
85		 Controls the number of trials to find a victim segment.
86
87What:		/sys/fs/f2fs/<disk>/dir_level
88Date:		March 2014
89Contact:	"Jaegeuk Kim" <jaegeuk.kim@samsung.com>
90Description:
91		 Controls the directory level for large directory.
92
93What:		/sys/fs/f2fs/<disk>/ram_thresh
94Date:		March 2014
95Contact:	"Jaegeuk Kim" <jaegeuk.kim@samsung.com>
96Description:
97		 Controls the memory footprint used by f2fs.
98
99What:		/sys/fs/f2fs/<disk>/batched_trim_sections
100Date:		February 2015
101Contact:	"Jaegeuk Kim" <jaegeuk@kernel.org>
102Description:
103		 Controls the trimming rate in batch mode.
104		 <deprecated>
105
106What:		/sys/fs/f2fs/<disk>/cp_interval
107Date:		October 2015
108Contact:	"Jaegeuk Kim" <jaegeuk@kernel.org>
109Description:
110		 Controls the checkpoint timing.
111
112What:		/sys/fs/f2fs/<disk>/idle_interval
113Date:		January 2016
114Contact:	"Jaegeuk Kim" <jaegeuk@kernel.org>
115Description:
116		 Controls the idle timing.
117
118What:		/sys/fs/f2fs/<disk>/iostat_enable
119Date:		August 2017
120Contact:	"Chao Yu" <yuchao0@huawei.com>
121Description:
122		 Controls to enable/disable IO stat.
123
124What:		/sys/fs/f2fs/<disk>/ra_nid_pages
125Date:		October 2015
126Contact:	"Chao Yu" <chao2.yu@samsung.com>
127Description:
128		 Controls the count of nid pages to be readaheaded.
129
130What:		/sys/fs/f2fs/<disk>/dirty_nats_ratio
131Date:		January 2016
132Contact:	"Chao Yu" <chao2.yu@samsung.com>
133Description:
134		 Controls dirty nat entries ratio threshold, if current
135		 ratio exceeds configured threshold, checkpoint will
136		 be triggered for flushing dirty nat entries.
137
138What:		/sys/fs/f2fs/<disk>/lifetime_write_kbytes
139Date:		January 2016
140Contact:	"Shuoran Liu" <liushuoran@huawei.com>
141Description:
142		 Shows total written kbytes issued to disk.
143
144What:		/sys/fs/f2fs/<disk>/features
145Date:		July 2017
146Contact:	"Jaegeuk Kim" <jaegeuk@kernel.org>
147Description:
148		 Shows all enabled features in current device.
149
150What:		/sys/fs/f2fs/<disk>/inject_rate
151Date:		May 2016
152Contact:	"Sheng Yong" <shengyong1@huawei.com>
153Description:
154		 Controls the injection rate.
155
156What:		/sys/fs/f2fs/<disk>/inject_type
157Date:		May 2016
158Contact:	"Sheng Yong" <shengyong1@huawei.com>
159Description:
160		 Controls the injection type.
161
162What:		/sys/fs/f2fs/<disk>/reserved_blocks
163Date:		June 2017
164Contact:	"Chao Yu" <yuchao0@huawei.com>
165Description:
166		 Controls target reserved blocks in system, the threshold
167		 is soft, it could exceed current available user space.
168
169What:		/sys/fs/f2fs/<disk>/current_reserved_blocks
170Date:		October 2017
171Contact:	"Yunlong Song" <yunlong.song@huawei.com>
172Contact:	"Chao Yu" <yuchao0@huawei.com>
173Description:
174		 Shows current reserved blocks in system, it may be temporarily
175		 smaller than target_reserved_blocks, but will gradually
176		 increase to target_reserved_blocks when more free blocks are
177		 freed by user later.
178
179What:		/sys/fs/f2fs/<disk>/gc_urgent
180Date:		August 2017
181Contact:	"Jaegeuk Kim" <jaegeuk@kernel.org>
182Description:
183		 Do background GC agressively
184
185What:		/sys/fs/f2fs/<disk>/gc_urgent_sleep_time
186Date:		August 2017
187Contact:	"Jaegeuk Kim" <jaegeuk@kernel.org>
188Description:
189		 Controls sleep time of GC urgent mode
190
191What:		/sys/fs/f2fs/<disk>/readdir_ra
192Date:		November 2017
193Contact:	"Sheng Yong" <shengyong1@huawei.com>
194Description:
195		 Controls readahead inode block in readdir.
196
197What:		/sys/fs/f2fs/<disk>/extension_list
198Date:		Feburary 2018
199Contact:	"Chao Yu" <yuchao0@huawei.com>
200Description:
201		 Used to control configure extension list:
202		 - Query: cat /sys/fs/f2fs/<disk>/extension_list
203		 - Add: echo '[h/c]extension' > /sys/fs/f2fs/<disk>/extension_list
204		 - Del: echo '[h/c]!extension' > /sys/fs/f2fs/<disk>/extension_list
205		 - [h] means add/del hot file extension
206		 - [c] means add/del cold file extension
207