1 What: /sys/fs/f2fs/<disk>/gc_max_sleep_time
3 Contact: "Namjae Jeon" <namjae.jeon@samsung.com>
5 Controls the maximun sleep time for gc_thread. Time
8 What: /sys/fs/f2fs/<disk>/gc_min_sleep_time
10 Contact: "Namjae Jeon" <namjae.jeon@samsung.com>
12 Controls the minimum sleep time for gc_thread. Time
15 What: /sys/fs/f2fs/<disk>/gc_no_gc_sleep_time
17 Contact: "Namjae Jeon" <namjae.jeon@samsung.com>
19 Controls the default sleep time for gc_thread. Time
22 What: /sys/fs/f2fs/<disk>/gc_idle
24 Contact: "Namjae Jeon" <namjae.jeon@samsung.com>
26 Controls the victim selection policy for garbage collection.
28 What: /sys/fs/f2fs/<disk>/reclaim_segments
30 Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
32 Controls the issue rate of segment discard commands.
34 What: /sys/fs/f2fs/<disk>/ipu_policy
36 Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
38 Controls the in-place-update policy.
40 What: /sys/fs/f2fs/<disk>/min_ipu_util
42 Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
44 Controls the FS utilization condition for the in-place-update
47 What: /sys/fs/f2fs/<disk>/min_fsync_blocks
49 Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
51 Controls the dirty page count condition for the in-place-update
54 What: /sys/fs/f2fs/<disk>/min_hot_blocks
56 Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
58 Controls the dirty page count condition for redefining hot data.
60 What: /sys/fs/f2fs/<disk>/min_ssr_sections
62 Contact: "Chao Yu" <yuchao0@huawei.com>
64 Controls the fee section threshold to trigger SSR allocation.
66 What: /sys/fs/f2fs/<disk>/max_small_discards
68 Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
70 Controls the issue rate of small discard commands.
72 What: /sys/fs/f2fs/<disk>/discard_granularity
74 Contact: "Chao Yu" <yuchao0@huawei.com>
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
81 What: /sys/fs/f2fs/<disk>/max_victim_search
83 Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
85 Controls the number of trials to find a victim segment.
87 What: /sys/fs/f2fs/<disk>/dir_level
89 Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
91 Controls the directory level for large directory.
93 What: /sys/fs/f2fs/<disk>/ram_thresh
95 Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
97 Controls the memory footprint used by f2fs.
99 What: /sys/fs/f2fs/<disk>/batched_trim_sections
101 Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
103 Controls the trimming rate in batch mode.
105 What: /sys/fs/f2fs/<disk>/cp_interval
107 Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
109 Controls the checkpoint timing.
111 What: /sys/fs/f2fs/<disk>/idle_interval
113 Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
115 Controls the idle timing.
117 What: /sys/fs/f2fs/<disk>/iostat_enable
119 Contact: "Chao Yu" <yuchao0@huawei.com>
121 Controls to enable/disable IO stat.
123 What: /sys/fs/f2fs/<disk>/ra_nid_pages
125 Contact: "Chao Yu" <chao2.yu@samsung.com>
127 Controls the count of nid pages to be readaheaded.
129 What: /sys/fs/f2fs/<disk>/dirty_nats_ratio
131 Contact: "Chao Yu" <chao2.yu@samsung.com>
133 Controls dirty nat entries ratio threshold, if current
134 ratio exceeds configured threshold, checkpoint will
135 be triggered for flushing dirty nat entries.
137 What: /sys/fs/f2fs/<disk>/lifetime_write_kbytes
139 Contact: "Shuoran Liu" <liushuoran@huawei.com>
141 Shows total written kbytes issued to disk.
143 What: /sys/fs/f2fs/<disk>/feature
145 Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
147 Shows all enabled features in current device.
149 What: /sys/fs/f2fs/<disk>/inject_rate
151 Contact: "Sheng Yong" <shengyong1@huawei.com>
153 Controls the injection rate.
155 What: /sys/fs/f2fs/<disk>/inject_type
157 Contact: "Sheng Yong" <shengyong1@huawei.com>
159 Controls the injection type.
161 What: /sys/fs/f2fs/<disk>/reserved_blocks
163 Contact: "Chao Yu" <yuchao0@huawei.com>
165 Controls target reserved blocks in system, the threshold
166 is soft, it could exceed current available user space.
168 What: /sys/fs/f2fs/<disk>/current_reserved_blocks
170 Contact: "Yunlong Song" <yunlong.song@huawei.com>
171 Contact: "Chao Yu" <yuchao0@huawei.com>
173 Shows current reserved blocks in system, it may be temporarily
174 smaller than target_reserved_blocks, but will gradually
175 increase to target_reserved_blocks when more free blocks are
178 What: /sys/fs/f2fs/<disk>/gc_urgent
180 Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
182 Do background GC agressively
184 What: /sys/fs/f2fs/<disk>/gc_urgent_sleep_time
186 Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
188 Controls sleep time of GC urgent mode