f2fs: atgc: export entries for better tunability via sysfs
authorChao Yu <yuchao0@huawei.com>
Wed, 12 May 2021 02:07:19 +0000 (10:07 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 26 May 2021 14:00:36 +0000 (07:00 -0700)
commit8939a8489ca64b56f49428b0d882709080a928d4
treee6e05c9d0aa6dc78ae711fab1d00808e39355086
parent4a67d9b07ac8dce7f1034e0d887f2f4ee00fe118
f2fs: atgc: export entries for better tunability via sysfs

This patch export below sysfs entries for better ATGC tunability.

/sys/fs/f2fs/<disk>/atgc_candidate_ratio
/sys/fs/f2fs/<disk>/atgc_candidate_count
/sys/fs/f2fs/<disk>/atgc_age_weight
/sys/fs/f2fs/<disk>/atgc_age_threshold

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/ABI/testing/sysfs-fs-f2fs
fs/f2fs/sysfs.c