aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2017-06-26 16:24:41 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2017-07-07 10:34:41 -0700
commitdaeb433e42de97c79622f58681972200eec1d8da (patch)
treeb0f24b7eb9f345be975c63af9513c275f777da1b /Documentation
parentd871cd046f1a5ae816c836cf114d57288bcb00b2 (diff)
downloadlinux-oxnas-daeb433e42de97c79622f58681972200eec1d8da.tar.gz
f2fs: introduce reserved_blocks in sysfs
In this patch, we add a new sysfs interface, with it, we can control number of reserved blocks in system which could not be used by user, it enable f2fs to let user to configure for adjusting over-provision ratio dynamically instead of changing it by mkfs. So we can expect it will help to reserve more free space for relieving GC in both filesystem and flash device. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'Documentation')
-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 b09108811ff1f8..84c606fb3ca4df 100644
--- a/Documentation/ABI/testing/sysfs-fs-f2fs
+++ b/Documentation/ABI/testing/sysfs-fs-f2fs
@@ -124,3 +124,9 @@ Date: May 2016
Contact: "Sheng Yong" <shengyong1@huawei.com>
Description:
Controls the injection type.
+
+What: /sys/fs/f2fs/<disk>/reserved_blocks
+Date: June 2017
+Contact: "Chao Yu" <yuchao0@huawei.com>
+Description:
+ Controls current reserved blocks in system.