summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorYangtao Li <frank.li@vivo.com>2022-10-25 16:32:26 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2022-11-01 17:56:03 -0700
commitc46867e9b9b8e0cdd6a5212c2b5ae616583a3bfd (patch)
tree5a3e72e9c7eb4ed9c78f71ac1d6a520651951bc8 /Documentation/ABI
parenta995627e6dd81d4485d40ce64880017a080d71e6 (diff)
downloadlinux-stable-c46867e9b9b8e0cdd6a5212c2b5ae616583a3bfd.tar.gz
linux-stable-c46867e9b9b8e0cdd6a5212c2b5ae616583a3bfd.tar.bz2
linux-stable-c46867e9b9b8e0cdd6a5212c2b5ae616583a3bfd.zip
f2fs: introduce max_ordered_discard sysfs node
The current max_ordered_discard is a fixed value, change it to be configurable through the sys node. 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-f2fs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-fs-f2fs b/Documentation/ABI/testing/sysfs-fs-f2fs
index 483639fb727b..53f70eadec96 100644
--- a/Documentation/ABI/testing/sysfs-fs-f2fs
+++ b/Documentation/ABI/testing/sysfs-fs-f2fs
@@ -99,6 +99,12 @@ Description: Controls the issue rate of discard commands that consist of small
checkpoint is triggered, and issued during the checkpoint.
By default, it is disabled with 0.
+What: /sys/fs/f2fs/<disk>/max_ordered_discard
+Date: October 2022
+Contact: "Yangtao Li" <frank.li@vivo.com>
+Description: Controls the maximum ordered discard, the unit size is one block(4KB).
+ Set it to 16 by default.
+
What: /sys/fs/f2fs/<disk>/max_discard_request
Date: December 2021
Contact: "Konstantin Vyshetsky" <vkon@google.com>