f2fs: introduce discard_urgent_util sysfs node
authorYangtao Li <frank.li@vivo.com>
Wed, 23 Nov 2022 16:44:02 +0000 (00:44 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 28 Nov 2022 20:51:01 +0000 (12:51 -0800)
commit8a47d228de6a4fd4c751142fb27d56f385b3fe41
tree31e1472134aae5dfbe75f0975ed7e72386b9053d
parent1cd2e6d544359ae13e6fd9029b6018b957cf08c3
f2fs: introduce discard_urgent_util sysfs node

Through this node, you can control the background discard
to run more aggressively or not aggressively when reach the
utilization rate of the space.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/ABI/testing/sysfs-fs-f2fs
fs/f2fs/f2fs.h
fs/f2fs/segment.c
fs/f2fs/sysfs.c