Namjae Jeon | b59d0ba | 2013-08-04 23:09:40 +0900 | [diff] [blame] | 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. |
Namjae Jeon | d2dc095 | 2013-08-04 23:10:15 +0900 | [diff] [blame] | 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. |
Jaegeuk Kim | 3bac380 | 2014-01-09 21:00:06 +0900 | [diff] [blame] | 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 | |
Jaegeuk Kim | c1ce1b0 | 2014-09-10 16:53:02 -0700 | [diff] [blame] | 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 | |
Jaegeuk Kim | 8ae26d1 | 2017-09-23 17:02:18 +0800 | [diff] [blame] | 54 | What: /sys/fs/f2fs/<disk>/min_hot_blocks |
| 55 | Date: March 2017 |
| 56 | Contact: "Jaegeuk Kim" <jaegeuk@kernel.org> |
| 57 | Description: |
| 58 | Controls the dirty page count condition for redefining hot data. |
| 59 | |
| 60 | What: /sys/fs/f2fs/<disk>/min_ssr_sections |
| 61 | Date: October 2017 |
| 62 | Contact: "Chao Yu" <yuchao0@huawei.com> |
| 63 | Description: |
| 64 | Controls the fee section threshold to trigger SSR allocation. |
| 65 | |
Jaegeuk Kim | 3bac380 | 2014-01-09 21:00:06 +0900 | [diff] [blame] | 66 | What: /sys/fs/f2fs/<disk>/max_small_discards |
| 67 | Date: November 2013 |
| 68 | Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> |
| 69 | Description: |
| 70 | Controls the issue rate of small discard commands. |
| 71 | |
Hyojun Kim | 63da420 | 2017-10-06 17:10:08 -0700 | [diff] [blame] | 72 | What: /sys/fs/f2fs/<disk>/discard_granularity |
| 73 | Date: July 2017 |
| 74 | Contact: "Chao Yu" <yuchao0@huawei.com> |
| 75 | Description: |
| 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 |
| 79 | of [1, 512]. |
| 80 | |
Jaegeuk Kim | 3bac380 | 2014-01-09 21:00:06 +0900 | [diff] [blame] | 81 | What: /sys/fs/f2fs/<disk>/max_victim_search |
| 82 | Date: January 2014 |
| 83 | Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> |
| 84 | Description: |
| 85 | Controls the number of trials to find a victim segment. |
Jaegeuk Kim | cdfc41c | 2014-03-19 13:31:37 +0900 | [diff] [blame] | 86 | |
Jaegeuk Kim | 9179682 | 2014-03-19 13:40:09 +0900 | [diff] [blame] | 87 | What: /sys/fs/f2fs/<disk>/dir_level |
| 88 | Date: March 2014 |
| 89 | Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> |
| 90 | Description: |
| 91 | Controls the directory level for large directory. |
| 92 | |
Jaegeuk Kim | cdfc41c | 2014-03-19 13:31:37 +0900 | [diff] [blame] | 93 | What: /sys/fs/f2fs/<disk>/ram_thresh |
| 94 | Date: March 2014 |
| 95 | Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> |
| 96 | Description: |
| 97 | Controls the memory footprint used by f2fs. |
Jaegeuk Kim | bba681c | 2015-01-26 17:41:23 -0800 | [diff] [blame] | 98 | |
| 99 | What: /sys/fs/f2fs/<disk>/trim_sections |
| 100 | Date: February 2015 |
| 101 | Contact: "Jaegeuk Kim" <jaegeuk@kernel.org> |
| 102 | Description: |
| 103 | Controls the trimming rate in batch mode. |
Jaegeuk Kim | 60b99b4 | 2015-10-05 14:49:57 -0700 | [diff] [blame] | 104 | |
| 105 | What: /sys/fs/f2fs/<disk>/cp_interval |
| 106 | Date: October 2015 |
| 107 | Contact: "Jaegeuk Kim" <jaegeuk@kernel.org> |
| 108 | Description: |
| 109 | Controls the checkpoint timing. |
Chao Yu | ea1a29a0 | 2015-10-12 17:08:48 +0800 | [diff] [blame] | 110 | |
Jaegeuk Kim | d0239e1 | 2016-01-08 16:57:48 -0800 | [diff] [blame] | 111 | What: /sys/fs/f2fs/<disk>/idle_interval |
| 112 | Date: January 2016 |
| 113 | Contact: "Jaegeuk Kim" <jaegeuk@kernel.org> |
| 114 | Description: |
| 115 | Controls the idle timing. |
| 116 | |
Jaegeuk Kim | 8ae26d1 | 2017-09-23 17:02:18 +0800 | [diff] [blame] | 117 | What: /sys/fs/f2fs/<disk>/iostat_enable |
| 118 | Date: August 2017 |
| 119 | Contact: "Chao Yu" <yuchao0@huawei.com> |
| 120 | Description: |
| 121 | Controls to enable/disable IO stat. |
| 122 | |
Chao Yu | ea1a29a0 | 2015-10-12 17:08:48 +0800 | [diff] [blame] | 123 | What: /sys/fs/f2fs/<disk>/ra_nid_pages |
| 124 | Date: October 2015 |
| 125 | Contact: "Chao Yu" <chao2.yu@samsung.com> |
| 126 | Description: |
| 127 | Controls the count of nid pages to be readaheaded. |
Chao Yu | 2304cb0 | 2016-01-18 18:32:58 +0800 | [diff] [blame] | 128 | |
| 129 | What: /sys/fs/f2fs/<disk>/dirty_nats_ratio |
| 130 | Date: January 2016 |
| 131 | Contact: "Chao Yu" <chao2.yu@samsung.com> |
| 132 | Description: |
| 133 | Controls dirty nat entries ratio threshold, if current |
| 134 | ratio exceeds configured threshold, checkpoint will |
| 135 | be triggered for flushing dirty nat entries. |
Shuoran Liu | 8f1dbbb | 2016-01-27 09:57:30 +0800 | [diff] [blame] | 136 | |
| 137 | What: /sys/fs/f2fs/<disk>/lifetime_write_kbytes |
| 138 | Date: January 2016 |
| 139 | Contact: "Shuoran Liu" <liushuoran@huawei.com> |
| 140 | Description: |
| 141 | Shows total written kbytes issued to disk. |
Hyojun Kim | 63da420 | 2017-10-06 17:10:08 -0700 | [diff] [blame] | 142 | |
Jaegeuk Kim | 8ae26d1 | 2017-09-23 17:02:18 +0800 | [diff] [blame] | 143 | What: /sys/fs/f2fs/<disk>/feature |
| 144 | Date: July 2017 |
| 145 | Contact: "Jaegeuk Kim" <jaegeuk@kernel.org> |
| 146 | Description: |
| 147 | Shows all enabled features in current device. |
| 148 | |
Hyojun Kim | 63da420 | 2017-10-06 17:10:08 -0700 | [diff] [blame] | 149 | What: /sys/fs/f2fs/<disk>/inject_rate |
| 150 | Date: May 2016 |
| 151 | Contact: "Sheng Yong" <shengyong1@huawei.com> |
| 152 | Description: |
| 153 | Controls the injection rate. |
| 154 | |
| 155 | What: /sys/fs/f2fs/<disk>/inject_type |
| 156 | Date: May 2016 |
| 157 | Contact: "Sheng Yong" <shengyong1@huawei.com> |
| 158 | Description: |
| 159 | Controls the injection type. |
| 160 | |
| 161 | What: /sys/fs/f2fs/<disk>/reserved_blocks |
| 162 | Date: June 2017 |
| 163 | Contact: "Chao Yu" <yuchao0@huawei.com> |
| 164 | Description: |
Jaegeuk Kim | 8ae26d1 | 2017-09-23 17:02:18 +0800 | [diff] [blame] | 165 | Controls target reserved blocks in system, the threshold |
| 166 | is soft, it could exceed current available user space. |
| 167 | |
| 168 | What: /sys/fs/f2fs/<disk>/current_reserved_blocks |
| 169 | Date: October 2017 |
| 170 | Contact: "Yunlong Song" <yunlong.song@huawei.com> |
| 171 | Contact: "Chao Yu" <yuchao0@huawei.com> |
| 172 | Description: |
| 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 |
| 176 | freed by user later. |
Hyojun Kim | 63da420 | 2017-10-06 17:10:08 -0700 | [diff] [blame] | 177 | |
| 178 | What: /sys/fs/f2fs/<disk>/gc_urgent |
| 179 | Date: August 2017 |
| 180 | Contact: "Jaegeuk Kim" <jaegeuk@kernel.org> |
| 181 | Description: |
| 182 | Do background GC agressively |
| 183 | |
| 184 | What: /sys/fs/f2fs/<disk>/gc_urgent_sleep_time |
| 185 | Date: August 2017 |
| 186 | Contact: "Jaegeuk Kim" <jaegeuk@kernel.org> |
| 187 | Description: |
| 188 | Controls sleep time of GC urgent mode |
Jaegeuk Kim | 2f17e34 | 2017-11-16 16:59:14 +0800 | [diff] [blame^] | 189 | |
| 190 | What: /sys/fs/f2fs/<disk>/readdir_ra |
| 191 | Date: November 2017 |
| 192 | Contact: "Sheng Yong" <shengyong1@huawei.com> |
| 193 | Description: |
| 194 | Controls readahead inode block in readdir. |