Commit | Line | Data |
---|---|---|
b59d0bae NJ |
1 | What: /sys/fs/f2fs/<disk>/gc_max_sleep_time |
2 | Date: July 2013 | |
3 | Contact: "Namjae Jeon" <namjae.jeon@samsung.com> | |
4 | Description: | |
5 | Controls the maximun sleep time for gc_thread. Time | |
6 | is in milliseconds. | |
7 | ||
8 | What: /sys/fs/f2fs/<disk>/gc_min_sleep_time | |
9 | Date: July 2013 | |
10 | Contact: "Namjae Jeon" <namjae.jeon@samsung.com> | |
11 | Description: | |
12 | Controls the minimum sleep time for gc_thread. Time | |
13 | is in milliseconds. | |
14 | ||
15 | What: /sys/fs/f2fs/<disk>/gc_no_gc_sleep_time | |
16 | Date: July 2013 | |
17 | Contact: "Namjae Jeon" <namjae.jeon@samsung.com> | |
18 | Description: | |
19 | Controls the default sleep time for gc_thread. Time | |
20 | is in milliseconds. | |
d2dc095f NJ |
21 | |
22 | What: /sys/fs/f2fs/<disk>/gc_idle | |
23 | Date: July 2013 | |
24 | Contact: "Namjae Jeon" <namjae.jeon@samsung.com> | |
25 | Description: | |
26 | Controls the victim selection policy for garbage collection. | |
3bac380c JK |
27 | |
28 | What: /sys/fs/f2fs/<disk>/reclaim_segments | |
29 | Date: October 2013 | |
30 | Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> | |
31 | Description: | |
32 | Controls the issue rate of segment discard commands. | |
33 | ||
34 | What: /sys/fs/f2fs/<disk>/ipu_policy | |
35 | Date: November 2013 | |
36 | Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> | |
37 | Description: | |
38 | Controls the in-place-update policy. | |
39 | ||
40 | What: /sys/fs/f2fs/<disk>/min_ipu_util | |
41 | Date: November 2013 | |
42 | Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> | |
43 | Description: | |
44 | Controls the FS utilization condition for the in-place-update | |
45 | policies. | |
46 | ||
c1ce1b02 JK |
47 | What: /sys/fs/f2fs/<disk>/min_fsync_blocks |
48 | Date: September 2014 | |
49 | Contact: "Jaegeuk Kim" <jaegeuk@kernel.org> | |
50 | Description: | |
51 | Controls the dirty page count condition for the in-place-update | |
52 | policies. | |
53 | ||
3bac380c JK |
54 | What: /sys/fs/f2fs/<disk>/max_small_discards |
55 | Date: November 2013 | |
56 | Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> | |
57 | Description: | |
58 | Controls the issue rate of small discard commands. | |
59 | ||
13f00235 JK |
60 | What: /sys/fs/f2fs/<disk>/discard_granularity |
61 | Date: July 2017 | |
62 | Contact: "Chao Yu" <yuchao0@huawei.com> | |
63 | Description: | |
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 |
69 | What: /sys/fs/f2fs/<disk>/max_victim_search |
70 | Date: January 2014 | |
71 | Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> | |
72 | Description: | |
73 | Controls the number of trials to find a victim segment. | |
cdfc41c1 | 74 | |
91796825 JK |
75 | What: /sys/fs/f2fs/<disk>/dir_level |
76 | Date: March 2014 | |
77 | Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> | |
78 | Description: | |
79 | Controls the directory level for large directory. | |
80 | ||
cdfc41c1 JK |
81 | What: /sys/fs/f2fs/<disk>/ram_thresh |
82 | Date: March 2014 | |
83 | Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> | |
84 | Description: | |
85 | Controls the memory footprint used by f2fs. | |
bba681cb JK |
86 | |
87 | What: /sys/fs/f2fs/<disk>/trim_sections | |
88 | Date: February 2015 | |
89 | Contact: "Jaegeuk Kim" <jaegeuk@kernel.org> | |
90 | Description: | |
91 | Controls the trimming rate in batch mode. | |
60b99b48 JK |
92 | |
93 | What: /sys/fs/f2fs/<disk>/cp_interval | |
94 | Date: October 2015 | |
95 | Contact: "Jaegeuk Kim" <jaegeuk@kernel.org> | |
96 | Description: | |
97 | Controls the checkpoint timing. | |
ea1a29a0 CY |
98 | |
99 | What: /sys/fs/f2fs/<disk>/ra_nid_pages | |
100 | Date: October 2015 | |
101 | Contact: "Chao Yu" <chao2.yu@samsung.com> | |
102 | Description: | |
103 | Controls the count of nid pages to be readaheaded. | |
13f00235 JK |
104 | |
105 | What: /sys/fs/f2fs/<disk>/dirty_nats_ratio | |
106 | Date: January 2016 | |
107 | Contact: "Chao Yu" <chao2.yu@samsung.com> | |
108 | Description: | |
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 | ||
113 | What: /sys/fs/f2fs/<disk>/lifetime_write_kbytes | |
114 | Date: January 2016 | |
115 | Contact: "Shuoran Liu" <liushuoran@huawei.com> | |
116 | Description: | |
117 | Shows total written kbytes issued to disk. | |
118 | ||
119 | What: /sys/fs/f2fs/<disk>/inject_rate | |
120 | Date: May 2016 | |
121 | Contact: "Sheng Yong" <shengyong1@huawei.com> | |
122 | Description: | |
123 | Controls the injection rate. | |
124 | ||
125 | What: /sys/fs/f2fs/<disk>/inject_type | |
126 | Date: May 2016 | |
127 | Contact: "Sheng Yong" <shengyong1@huawei.com> | |
128 | Description: | |
129 | Controls the injection type. | |
130 | ||
131 | What: /sys/fs/f2fs/<disk>/reserved_blocks | |
132 | Date: June 2017 | |
133 | Contact: "Chao Yu" <yuchao0@huawei.com> | |
134 | Description: | |
135 | Controls current reserved blocks in system. | |
136 | ||
137 | What: /sys/fs/f2fs/<disk>/gc_urgent | |
138 | Date: August 2017 | |
139 | Contact: "Jaegeuk Kim" <jaegeuk@kernel.org> | |
140 | Description: | |
141 | Do background GC agressively | |
142 | ||
143 | What: /sys/fs/f2fs/<disk>/gc_urgent_sleep_time | |
144 | Date: August 2017 | |
145 | Contact: "Jaegeuk Kim" <jaegeuk@kernel.org> | |
146 | Description: | |
147 | Controls sleep time of GC urgent mode |