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>/max_blkaddr
35Date:		November 2019
36Contact:	"Ramon Pantin" <pantin@google.com>
37Description:
38		 Shows first block address of MAIN area.
39
40What:		/sys/fs/f2fs/<disk>/ipu_policy
41Date:		November 2013
42Contact:	"Jaegeuk Kim" <jaegeuk.kim@samsung.com>
43Description:
44		 Controls the in-place-update policy.
45
46What:		/sys/fs/f2fs/<disk>/min_ipu_util
47Date:		November 2013
48Contact:	"Jaegeuk Kim" <jaegeuk.kim@samsung.com>
49Description:
50		 Controls the FS utilization condition for the in-place-update
51		 policies.
52
53What:		/sys/fs/f2fs/<disk>/min_fsync_blocks
54Date:		September 2014
55Contact:	"Jaegeuk Kim" <jaegeuk@kernel.org>
56Description:
57		 Controls the dirty page count condition for the in-place-update
58		 policies.
59
60What:		/sys/fs/f2fs/<disk>/min_seq_blocks
61Date:		August 2018
62Contact:	"Jaegeuk Kim" <jaegeuk@kernel.org>
63Description:
64		 Controls the dirty page count condition for batched sequential
65		 writes in ->writepages.
66
67
68What:		/sys/fs/f2fs/<disk>/min_hot_blocks
69Date:		March 2017
70Contact:	"Jaegeuk Kim" <jaegeuk@kernel.org>
71Description:
72		 Controls the dirty page count condition for redefining hot data.
73
74What:		/sys/fs/f2fs/<disk>/min_ssr_sections
75Date:		October 2017
76Contact:	"Chao Yu" <yuchao0@huawei.com>
77Description:
78		 Controls the fee section threshold to trigger SSR allocation.
79
80What:		/sys/fs/f2fs/<disk>/max_small_discards
81Date:		November 2013
82Contact:	"Jaegeuk Kim" <jaegeuk.kim@samsung.com>
83Description:
84		 Controls the issue rate of small discard commands.
85
86What:          /sys/fs/f2fs/<disk>/discard_granularity
87Date:          July 2017
88Contact:       "Chao Yu" <yuchao0@huawei.com>
89Description:
90		Controls discard granularity of inner discard thread, inner thread
91		will not issue discards with size that is smaller than granularity.
92		The unit size is one block, now only support configuring in range
93		of [1, 512].
94
95What:          /sys/fs/f2fs/<disk>/umount_discard_timeout
96Date:          January 2019
97Contact:       "Jaegeuk Kim" <jaegeuk@kernel.org>
98Description:
99		Set timeout to issue discard commands during umount.
100		Default: 5 secs
101
102What:		/sys/fs/f2fs/<disk>/max_victim_search
103Date:		January 2014
104Contact:	"Jaegeuk Kim" <jaegeuk.kim@samsung.com>
105Description:
106		 Controls the number of trials to find a victim segment.
107
108What:		/sys/fs/f2fs/<disk>/migration_granularity
109Date:		October 2018
110Contact:	"Chao Yu" <yuchao0@huawei.com>
111Description:
112		 Controls migration granularity of garbage collection on large
113		 section, it can let GC move partial segment{s} of one section
114		 in one GC cycle, so that dispersing heavy overhead GC to
115		 multiple lightweight one.
116
117What:		/sys/fs/f2fs/<disk>/dir_level
118Date:		March 2014
119Contact:	"Jaegeuk Kim" <jaegeuk.kim@samsung.com>
120Description:
121		 Controls the directory level for large directory.
122
123What:		/sys/fs/f2fs/<disk>/ram_thresh
124Date:		March 2014
125Contact:	"Jaegeuk Kim" <jaegeuk.kim@samsung.com>
126Description:
127		 Controls the memory footprint used by f2fs.
128
129What:		/sys/fs/f2fs/<disk>/batched_trim_sections
130Date:		February 2015
131Contact:	"Jaegeuk Kim" <jaegeuk@kernel.org>
132Description:
133		 Controls the trimming rate in batch mode.
134		 <deprecated>
135
136What:		/sys/fs/f2fs/<disk>/cp_interval
137Date:		October 2015
138Contact:	"Jaegeuk Kim" <jaegeuk@kernel.org>
139Description:
140		 Controls the checkpoint timing.
141
142What:		/sys/fs/f2fs/<disk>/idle_interval
143Date:		January 2016
144Contact:	"Jaegeuk Kim" <jaegeuk@kernel.org>
145Description:
146		 Controls the idle timing for all paths other than
147		 discard and gc path.
148
149What:		/sys/fs/f2fs/<disk>/discard_idle_interval
150Date:		September 2018
151Contact:	"Chao Yu" <yuchao0@huawei.com>
152Contact:	"Sahitya Tummala" <stummala@codeaurora.org>
153Description:
154		 Controls the idle timing for discard path.
155
156What:		/sys/fs/f2fs/<disk>/gc_idle_interval
157Date:		September 2018
158Contact:	"Chao Yu" <yuchao0@huawei.com>
159Contact:	"Sahitya Tummala" <stummala@codeaurora.org>
160Description:
161		 Controls the idle timing for gc path.
162
163What:		/sys/fs/f2fs/<disk>/iostat_enable
164Date:		August 2017
165Contact:	"Chao Yu" <yuchao0@huawei.com>
166Description:
167		 Controls to enable/disable IO stat.
168
169What:		/sys/fs/f2fs/<disk>/ra_nid_pages
170Date:		October 2015
171Contact:	"Chao Yu" <chao2.yu@samsung.com>
172Description:
173		 Controls the count of nid pages to be readaheaded.
174
175What:		/sys/fs/f2fs/<disk>/dirty_nats_ratio
176Date:		January 2016
177Contact:	"Chao Yu" <chao2.yu@samsung.com>
178Description:
179		 Controls dirty nat entries ratio threshold, if current
180		 ratio exceeds configured threshold, checkpoint will
181		 be triggered for flushing dirty nat entries.
182
183What:		/sys/fs/f2fs/<disk>/lifetime_write_kbytes
184Date:		January 2016
185Contact:	"Shuoran Liu" <liushuoran@huawei.com>
186Description:
187		 Shows total written kbytes issued to disk.
188
189What:		/sys/fs/f2fs/<disk>/features
190Date:		July 2017
191Contact:	"Jaegeuk Kim" <jaegeuk@kernel.org>
192Description:
193		 Shows all enabled features in current device.
194
195What:		/sys/fs/f2fs/<disk>/inject_rate
196Date:		May 2016
197Contact:	"Sheng Yong" <shengyong1@huawei.com>
198Description:
199		 Controls the injection rate.
200
201What:		/sys/fs/f2fs/<disk>/inject_type
202Date:		May 2016
203Contact:	"Sheng Yong" <shengyong1@huawei.com>
204Description:
205		 Controls the injection type.
206
207What:		/sys/fs/f2fs/<disk>/reserved_blocks
208Date:		June 2017
209Contact:	"Chao Yu" <yuchao0@huawei.com>
210Description:
211		 Controls target reserved blocks in system, the threshold
212		 is soft, it could exceed current available user space.
213
214What:		/sys/fs/f2fs/<disk>/current_reserved_blocks
215Date:		October 2017
216Contact:	"Yunlong Song" <yunlong.song@huawei.com>
217Contact:	"Chao Yu" <yuchao0@huawei.com>
218Description:
219		 Shows current reserved blocks in system, it may be temporarily
220		 smaller than target_reserved_blocks, but will gradually
221		 increase to target_reserved_blocks when more free blocks are
222		 freed by user later.
223
224What:		/sys/fs/f2fs/<disk>/gc_urgent
225Date:		August 2017
226Contact:	"Jaegeuk Kim" <jaegeuk@kernel.org>
227Description:
228		 Do background GC agressively
229
230What:		/sys/fs/f2fs/<disk>/gc_urgent_sleep_time
231Date:		August 2017
232Contact:	"Jaegeuk Kim" <jaegeuk@kernel.org>
233Description:
234		 Controls sleep time of GC urgent mode
235
236What:		/sys/fs/f2fs/<disk>/readdir_ra
237Date:		November 2017
238Contact:	"Sheng Yong" <shengyong1@huawei.com>
239Description:
240		 Controls readahead inode block in readdir.
241
242What:		/sys/fs/f2fs/<disk>/extension_list
243Date:		Feburary 2018
244Contact:	"Chao Yu" <yuchao0@huawei.com>
245Description:
246		 Used to control configure extension list:
247		 - Query: cat /sys/fs/f2fs/<disk>/extension_list
248		 - Add: echo '[h/c]extension' > /sys/fs/f2fs/<disk>/extension_list
249		 - Del: echo '[h/c]!extension' > /sys/fs/f2fs/<disk>/extension_list
250		 - [h] means add/del hot file extension
251		 - [c] means add/del cold file extension
252
253What:		/sys/fs/f2fs/<disk>/unusable
254Date		April 2019
255Contact:	"Daniel Rosenberg" <drosen@google.com>
256Description:
257		If checkpoint=disable, it displays the number of blocks that are unusable.
258                If checkpoint=enable it displays the enumber of blocks that would be unusable
259                if checkpoint=disable were to be set.
260
261What:		/sys/fs/f2fs/<disk>/encoding
262Date		July 2019
263Contact:	"Daniel Rosenberg" <drosen@google.com>
264Description:
265		Displays name and version of the encoding set for the filesystem.
266                If no encoding is set, displays (none)
267