summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorYangtao Li <frank.li@vivo.com>2023-01-04 19:40:29 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2023-01-30 13:23:51 -0800
commit120e0ea12d90ad15127ad50944975fc8c81666b7 (patch)
tree2f2b3f1eb12fd74cbce49ad9ef00cf8a171e16e4 /Documentation/ABI
parentc5f9db2548d0ac988df81aa34cc63f3b2ed374f9 (diff)
downloadlinux-stable-120e0ea12d90ad15127ad50944975fc8c81666b7.tar.gz
linux-stable-120e0ea12d90ad15127ad50944975fc8c81666b7.tar.bz2
linux-stable-120e0ea12d90ad15127ad50944975fc8c81666b7.zip
f2fs: introduce discard_io_aware_gran sysfs node
The current discard_io_aware_gran is a fixed value, change it to be configurable through the sys node. Signed-off-by: Yangtao Li <frank.li@vivo.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-fs-f2fs9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-fs-f2fs b/Documentation/ABI/testing/sysfs-fs-f2fs
index aaa379bb8a8f..75420c242cc4 100644
--- a/Documentation/ABI/testing/sysfs-fs-f2fs
+++ b/Documentation/ABI/testing/sysfs-fs-f2fs
@@ -708,3 +708,12 @@ Description: Support configuring fault injection type, should be
FAULT_LOCK_OP 0x000020000
FAULT_BLKADDR 0x000040000
=================== ===========
+
+What: /sys/fs/f2fs/<disk>/discard_io_aware_gran
+Date: January 2023
+Contact: "Yangtao Li" <frank.li@vivo.com>
+Description: Controls background discard granularity of inner discard thread
+ when is not in idle. Inner thread will not issue discards with size that
+ is smaller than granularity. The unit size is one block(4KB), now only
+ support configuring in range of [0, 512].
+ Default: 512