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