f2fs: catch up to v4.14-rc1
[GitHub/exynos8895/android_kernel_samsung_universal8895.git] / Documentation / ABI / testing / sysfs-fs-f2fs
CommitLineData
b59d0bae
NJ
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.
d2dc095f
NJ
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.
3bac380c
JK
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
c1ce1b02
JK
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
3bac380c
JK
54What: /sys/fs/f2fs/<disk>/max_small_discards
55Date: November 2013
56Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
57Description:
58 Controls the issue rate of small discard commands.
59
13f00235
JK
60What: /sys/fs/f2fs/<disk>/discard_granularity
61Date: July 2017
62Contact: "Chao Yu" <yuchao0@huawei.com>
63Description:
64 Controls discard granularity of inner discard thread, inner thread
65 will not issue discards with size that is smaller than granularity.
66 The unit size is one block, now only support configuring in range
67 of [1, 512].
68
3bac380c
JK
69What: /sys/fs/f2fs/<disk>/max_victim_search
70Date: January 2014
71Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
72Description:
73 Controls the number of trials to find a victim segment.
cdfc41c1 74
91796825
JK
75What: /sys/fs/f2fs/<disk>/dir_level
76Date: March 2014
77Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
78Description:
79 Controls the directory level for large directory.
80
cdfc41c1
JK
81What: /sys/fs/f2fs/<disk>/ram_thresh
82Date: March 2014
83Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
84Description:
85 Controls the memory footprint used by f2fs.
bba681cb
JK
86
87What: /sys/fs/f2fs/<disk>/trim_sections
88Date: February 2015
89Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
90Description:
91 Controls the trimming rate in batch mode.
60b99b48
JK
92
93What: /sys/fs/f2fs/<disk>/cp_interval
94Date: October 2015
95Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
96Description:
97 Controls the checkpoint timing.
ea1a29a0
CY
98
99What: /sys/fs/f2fs/<disk>/ra_nid_pages
100Date: October 2015
101Contact: "Chao Yu" <chao2.yu@samsung.com>
102Description:
103 Controls the count of nid pages to be readaheaded.
13f00235
JK
104
105What: /sys/fs/f2fs/<disk>/dirty_nats_ratio
106Date: January 2016
107Contact: "Chao Yu" <chao2.yu@samsung.com>
108Description:
109 Controls dirty nat entries ratio threshold, if current
110 ratio exceeds configured threshold, checkpoint will
111 be triggered for flushing dirty nat entries.
112
113What: /sys/fs/f2fs/<disk>/lifetime_write_kbytes
114Date: January 2016
115Contact: "Shuoran Liu" <liushuoran@huawei.com>
116Description:
117 Shows total written kbytes issued to disk.
118
119What: /sys/fs/f2fs/<disk>/inject_rate
120Date: May 2016
121Contact: "Sheng Yong" <shengyong1@huawei.com>
122Description:
123 Controls the injection rate.
124
125What: /sys/fs/f2fs/<disk>/inject_type
126Date: May 2016
127Contact: "Sheng Yong" <shengyong1@huawei.com>
128Description:
129 Controls the injection type.
130
131What: /sys/fs/f2fs/<disk>/reserved_blocks
132Date: June 2017
133Contact: "Chao Yu" <yuchao0@huawei.com>
134Description:
135 Controls current reserved blocks in system.
136
137What: /sys/fs/f2fs/<disk>/gc_urgent
138Date: August 2017
139Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
140Description:
141 Do background GC agressively
142
143What: /sys/fs/f2fs/<disk>/gc_urgent_sleep_time
144Date: August 2017
145Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
146Description:
147 Controls sleep time of GC urgent mode