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>/max_small_discards 55Date: November 2013 56Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> 57Description: 58 Controls the issue rate of small discard commands. 59 60What: /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 69What: /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. 74 75What: /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 81What: /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. 86 87What: /sys/fs/f2fs/<disk>/batched_trim_sections 88Date: February 2015 89Contact: "Jaegeuk Kim" <jaegeuk@kernel.org> 90Description: 91 Controls the trimming rate in batch mode. 92 93What: /sys/fs/f2fs/<disk>/cp_interval 94Date: October 2015 95Contact: "Jaegeuk Kim" <jaegeuk@kernel.org> 96Description: 97 Controls the checkpoint timing. 98 99What: /sys/fs/f2fs/<disk>/idle_interval 100Date: January 2016 101Contact: "Jaegeuk Kim" <jaegeuk@kernel.org> 102Description: 103 Controls the idle timing. 104 105What: /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. 110 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. 118 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. 124 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: 141 Controls current reserved blocks in system. 142 143What: /sys/fs/f2fs/<disk>/gc_urgent 144Date: August 2017 145Contact: "Jaegeuk Kim" <jaegeuk@kernel.org> 146Description: 147 Do background GC agressively 148 149What: /sys/fs/f2fs/<disk>/gc_urgent_sleep_time 150Date: August 2017 151Contact: "Jaegeuk Kim" <jaegeuk@kernel.org> 152Description: 153 Controls sleep time of GC urgent mode 154