1b59d0baeSNamjae JeonWhat: /sys/fs/f2fs/<disk>/gc_max_sleep_time 2b59d0baeSNamjae JeonDate: July 2013 3b59d0baeSNamjae JeonContact: "Namjae Jeon" <namjae.jeon@samsung.com> 4b59d0baeSNamjae JeonDescription: 5b59d0baeSNamjae Jeon Controls the maximun sleep time for gc_thread. Time 6b59d0baeSNamjae Jeon is in milliseconds. 7b59d0baeSNamjae Jeon 8b59d0baeSNamjae JeonWhat: /sys/fs/f2fs/<disk>/gc_min_sleep_time 9b59d0baeSNamjae JeonDate: July 2013 10b59d0baeSNamjae JeonContact: "Namjae Jeon" <namjae.jeon@samsung.com> 11b59d0baeSNamjae JeonDescription: 12b59d0baeSNamjae Jeon Controls the minimum sleep time for gc_thread. Time 13b59d0baeSNamjae Jeon is in milliseconds. 14b59d0baeSNamjae Jeon 15b59d0baeSNamjae JeonWhat: /sys/fs/f2fs/<disk>/gc_no_gc_sleep_time 16b59d0baeSNamjae JeonDate: July 2013 17b59d0baeSNamjae JeonContact: "Namjae Jeon" <namjae.jeon@samsung.com> 18b59d0baeSNamjae JeonDescription: 19b59d0baeSNamjae Jeon Controls the default sleep time for gc_thread. Time 20b59d0baeSNamjae Jeon is in milliseconds. 21d2dc095fSNamjae Jeon 22d2dc095fSNamjae JeonWhat: /sys/fs/f2fs/<disk>/gc_idle 23d2dc095fSNamjae JeonDate: July 2013 24d2dc095fSNamjae JeonContact: "Namjae Jeon" <namjae.jeon@samsung.com> 25d2dc095fSNamjae JeonDescription: 26d2dc095fSNamjae Jeon Controls the victim selection policy for garbage collection. 273bac380cSJaegeuk Kim 283bac380cSJaegeuk KimWhat: /sys/fs/f2fs/<disk>/reclaim_segments 293bac380cSJaegeuk KimDate: October 2013 303bac380cSJaegeuk KimContact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> 313bac380cSJaegeuk KimDescription: 323bac380cSJaegeuk Kim Controls the issue rate of segment discard commands. 333bac380cSJaegeuk Kim 343bac380cSJaegeuk KimWhat: /sys/fs/f2fs/<disk>/ipu_policy 353bac380cSJaegeuk KimDate: November 2013 363bac380cSJaegeuk KimContact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> 373bac380cSJaegeuk KimDescription: 383bac380cSJaegeuk Kim Controls the in-place-update policy. 393bac380cSJaegeuk Kim 403bac380cSJaegeuk KimWhat: /sys/fs/f2fs/<disk>/min_ipu_util 413bac380cSJaegeuk KimDate: November 2013 423bac380cSJaegeuk KimContact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> 433bac380cSJaegeuk KimDescription: 443bac380cSJaegeuk Kim Controls the FS utilization condition for the in-place-update 453bac380cSJaegeuk Kim policies. 463bac380cSJaegeuk Kim 47c1ce1b02SJaegeuk KimWhat: /sys/fs/f2fs/<disk>/min_fsync_blocks 48c1ce1b02SJaegeuk KimDate: September 2014 49c1ce1b02SJaegeuk KimContact: "Jaegeuk Kim" <jaegeuk@kernel.org> 50c1ce1b02SJaegeuk KimDescription: 51c1ce1b02SJaegeuk Kim Controls the dirty page count condition for the in-place-update 52c1ce1b02SJaegeuk Kim policies. 53c1ce1b02SJaegeuk Kim 543bac380cSJaegeuk KimWhat: /sys/fs/f2fs/<disk>/max_small_discards 553bac380cSJaegeuk KimDate: November 2013 563bac380cSJaegeuk KimContact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> 573bac380cSJaegeuk KimDescription: 583bac380cSJaegeuk Kim Controls the issue rate of small discard commands. 593bac380cSJaegeuk Kim 603bac380cSJaegeuk KimWhat: /sys/fs/f2fs/<disk>/max_victim_search 613bac380cSJaegeuk KimDate: January 2014 623bac380cSJaegeuk KimContact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> 633bac380cSJaegeuk KimDescription: 643bac380cSJaegeuk Kim Controls the number of trials to find a victim segment. 65cdfc41c1SJaegeuk Kim 6691796825SJaegeuk KimWhat: /sys/fs/f2fs/<disk>/dir_level 6791796825SJaegeuk KimDate: March 2014 6891796825SJaegeuk KimContact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> 6991796825SJaegeuk KimDescription: 7091796825SJaegeuk Kim Controls the directory level for large directory. 7191796825SJaegeuk Kim 72cdfc41c1SJaegeuk KimWhat: /sys/fs/f2fs/<disk>/ram_thresh 73cdfc41c1SJaegeuk KimDate: March 2014 74cdfc41c1SJaegeuk KimContact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com> 75cdfc41c1SJaegeuk KimDescription: 76cdfc41c1SJaegeuk Kim Controls the memory footprint used by f2fs. 77bba681cbSJaegeuk Kim 786f6d9fe2SChao YuWhat: /sys/fs/f2fs/<disk>/batched_trim_sections 79bba681cbSJaegeuk KimDate: February 2015 80bba681cbSJaegeuk KimContact: "Jaegeuk Kim" <jaegeuk@kernel.org> 81bba681cbSJaegeuk KimDescription: 82bba681cbSJaegeuk Kim Controls the trimming rate in batch mode. 8360b99b48SJaegeuk Kim 8460b99b48SJaegeuk KimWhat: /sys/fs/f2fs/<disk>/cp_interval 8560b99b48SJaegeuk KimDate: October 2015 8660b99b48SJaegeuk KimContact: "Jaegeuk Kim" <jaegeuk@kernel.org> 8760b99b48SJaegeuk KimDescription: 8860b99b48SJaegeuk Kim Controls the checkpoint timing. 89ea1a29a0SChao Yu 90d0239e1bSJaegeuk KimWhat: /sys/fs/f2fs/<disk>/idle_interval 91d0239e1bSJaegeuk KimDate: January 2016 92d0239e1bSJaegeuk KimContact: "Jaegeuk Kim" <jaegeuk@kernel.org> 93d0239e1bSJaegeuk KimDescription: 94d0239e1bSJaegeuk Kim Controls the idle timing. 95d0239e1bSJaegeuk Kim 96ea1a29a0SChao YuWhat: /sys/fs/f2fs/<disk>/ra_nid_pages 97ea1a29a0SChao YuDate: October 2015 98ea1a29a0SChao YuContact: "Chao Yu" <chao2.yu@samsung.com> 99ea1a29a0SChao YuDescription: 100ea1a29a0SChao Yu Controls the count of nid pages to be readaheaded. 1012304cb0cSChao Yu 1022304cb0cSChao YuWhat: /sys/fs/f2fs/<disk>/dirty_nats_ratio 1032304cb0cSChao YuDate: January 2016 1042304cb0cSChao YuContact: "Chao Yu" <chao2.yu@samsung.com> 1052304cb0cSChao YuDescription: 1062304cb0cSChao Yu Controls dirty nat entries ratio threshold, if current 1072304cb0cSChao Yu ratio exceeds configured threshold, checkpoint will 1082304cb0cSChao Yu be triggered for flushing dirty nat entries. 1098f1dbbbbSShuoran Liu 1108f1dbbbbSShuoran LiuWhat: /sys/fs/f2fs/<disk>/lifetime_write_kbytes 1118f1dbbbbSShuoran LiuDate: January 2016 1128f1dbbbbSShuoran LiuContact: "Shuoran Liu" <liushuoran@huawei.com> 1138f1dbbbbSShuoran LiuDescription: 1148f1dbbbbSShuoran Liu Shows total written kbytes issued to disk. 11556412894SChao Yu 11656412894SChao YuWhat: /sys/fs/f2fs/<disk>/inject_rate 11756412894SChao YuDate: May 2016 11856412894SChao YuContact: "Sheng Yong" <shengyong1@huawei.com> 11956412894SChao YuDescription: 12056412894SChao Yu Controls the injection rate. 12156412894SChao Yu 12256412894SChao YuWhat: /sys/fs/f2fs/<disk>/inject_type 12356412894SChao YuDate: May 2016 12456412894SChao YuContact: "Sheng Yong" <shengyong1@huawei.com> 12556412894SChao YuDescription: 12656412894SChao Yu Controls the injection type. 127daeb433eSChao Yu 128daeb433eSChao YuWhat: /sys/fs/f2fs/<disk>/reserved_blocks 129daeb433eSChao YuDate: June 2017 130daeb433eSChao YuContact: "Chao Yu" <yuchao0@huawei.com> 131daeb433eSChao YuDescription: 132daeb433eSChao Yu Controls current reserved blocks in system. 133*d9872a69SJaegeuk Kim 134*d9872a69SJaegeuk KimWhat: /sys/fs/f2fs/<disk>/gc_urgent 135*d9872a69SJaegeuk KimDate: August 2017 136*d9872a69SJaegeuk KimContact: "Jaegeuk Kim" <jaegeuk@kernel.org> 137*d9872a69SJaegeuk KimDescription: 138*d9872a69SJaegeuk Kim Do background GC agressively 139*d9872a69SJaegeuk Kim 140*d9872a69SJaegeuk KimWhat: /sys/fs/f2fs/<disk>/gc_urgent_sleep_time 141*d9872a69SJaegeuk KimDate: August 2017 142*d9872a69SJaegeuk KimContact: "Jaegeuk Kim" <jaegeuk@kernel.org> 143*d9872a69SJaegeuk KimDescription: 144*d9872a69SJaegeuk Kim Controls sleep time of GC urgent mode 145