blob: 96d70de16ccc23c28404f4b5c98d9bc57add212b [file] [log] [blame]
Namjae Jeonb59d0ba2013-08-04 23:09:40 +09001What: /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.
Namjae Jeond2dc0952013-08-04 23:10:15 +090021
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.
Jaegeuk Kim3bac3802014-01-09 21:00:06 +090027
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
Jaegeuk Kimc1ce1b02014-09-10 16:53:02 -070047What: /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
Jaegeuk Kim3bac3802014-01-09 21:00:06 +090054What: /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
Chao Yuefe24da2017-08-07 23:09:56 +080060What: /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
Jaegeuk Kim3bac3802014-01-09 21:00:06 +090069What: /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.
Jaegeuk Kimcdfc41c2014-03-19 13:31:37 +090074
Jaegeuk Kim91796822014-03-19 13:40:09 +090075What: /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
Jaegeuk Kimcdfc41c2014-03-19 13:31:37 +090081What: /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.
Jaegeuk Kimbba681c2015-01-26 17:41:23 -080086
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.
Jaegeuk Kim60b99b42015-10-05 14:49:57 -070092
93What: /sys/fs/f2fs/<disk>/cp_interval
94Date: October 2015
95Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
96Description:
97 Controls the checkpoint timing.
Chao Yuea1a29a02015-10-12 17:08:48 +080098
Jaegeuk Kimd0239e12016-01-08 16:57:48 -080099What: /sys/fs/f2fs/<disk>/idle_interval
100Date: January 2016
101Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
102Description:
103 Controls the idle timing.
104
Chao Yuea1a29a02015-10-12 17:08:48 +0800105What: /sys/fs/f2fs/<disk>/ra_nid_pages
106Date: October 2015
107Contact: "Chao Yu" <chao2.yu@samsung.com>
108Description:
109 Controls the count of nid pages to be readaheaded.
Chao Yu2304cb02016-01-18 18:32:58 +0800110
111What: /sys/fs/f2fs/<disk>/dirty_nats_ratio
112Date: January 2016
113Contact: "Chao Yu" <chao2.yu@samsung.com>
114Description:
115 Controls dirty nat entries ratio threshold, if current
116 ratio exceeds configured threshold, checkpoint will
117 be triggered for flushing dirty nat entries.
Shuoran Liu8f1dbbb2016-01-27 09:57:30 +0800118
119What: /sys/fs/f2fs/<disk>/lifetime_write_kbytes
120Date: January 2016
121Contact: "Shuoran Liu" <liushuoran@huawei.com>
122Description:
123 Shows total written kbytes issued to disk.
Chao Yu026bd9d2017-06-26 16:24:41 +0800124
125What: /sys/fs/f2fs/<disk>/inject_rate
126Date: May 2016
127Contact: "Sheng Yong" <shengyong1@huawei.com>
128Description:
129 Controls the injection rate.
130
131What: /sys/fs/f2fs/<disk>/inject_type
132Date: May 2016
133Contact: "Sheng Yong" <shengyong1@huawei.com>
134Description:
135 Controls the injection type.
136
137What: /sys/fs/f2fs/<disk>/reserved_blocks
138Date: June 2017
139Contact: "Chao Yu" <yuchao0@huawei.com>
140Description:
Yunlong Song68ab6f82017-10-27 20:45:05 +0800141 Controls target reserved blocks in system, the threshold
142 is soft, it could exceed current available user space.
143
144What: /sys/fs/f2fs/<disk>/current_reserved_blocks
145Date: October 2017
146Contact: "Yunlong Song" <yunlong.song@huawei.com>
147Contact: "Chao Yu" <yuchao0@huawei.com>
148Description:
149 Shows current reserved blocks in system, it may be temporarily
150 smaller than target_reserved_blocks, but will gradually
151 increase to target_reserved_blocks when more free blocks are
152 freed by user later.
Jaegeuk Kimbd2ffc22017-08-06 22:09:00 -0700153
154What: /sys/fs/f2fs/<disk>/gc_urgent
155Date: August 2017
156Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
157Description:
158 Do background GC agressively
159
160What: /sys/fs/f2fs/<disk>/gc_urgent_sleep_time
161Date: August 2017
162Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
163Description:
164 Controls sleep time of GC urgent mode