summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorYangtao Li <frank.li@vivo.com>2022-11-24 00:44:02 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2022-11-28 12:51:01 -0800
commit8a47d228de6a4fd4c751142fb27d56f385b3fe41 (patch)
tree31e1472134aae5dfbe75f0975ed7e72386b9053d /Documentation/ABI
parent1cd2e6d544359ae13e6fd9029b6018b957cf08c3 (diff)
downloadlinux-stable-8a47d228de6a4fd4c751142fb27d56f385b3fe41.tar.gz
linux-stable-8a47d228de6a4fd4c751142fb27d56f385b3fe41.tar.bz2
linux-stable-8a47d228de6a4fd4c751142fb27d56f385b3fe41.zip
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>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-fs-f2fs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-fs-f2fs b/Documentation/ABI/testing/sysfs-fs-f2fs
index 32404781e76f..84a009aab1a1 100644
--- a/Documentation/ABI/testing/sysfs-fs-f2fs
+++ b/Documentation/ABI/testing/sysfs-fs-f2fs
@@ -647,3 +647,11 @@ Date: October 2022
Contact: "Yangtao Li" <frank.li@vivo.com>
Description: Show the current gc_mode as a string.
This is a read-only entry.
+
+What: /sys/fs/f2fs/<disk>/discard_urgent_util
+Date: November 2022
+Contact: "Yangtao Li" <frank.li@vivo.com>
+Description: When space utilization exceeds this, do background DISCARD aggressively.
+ Does DISCARD forcibly in a period of given min_discard_issue_time when the number
+ of discards is not 0 and set discard granularity to 1.
+ Default: 80