summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2018-02-18 08:50:49 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-03-13 08:05:50 +0900
commit079396270b0f1e98496ef7672dd754bdd42574dc (patch)
treed43fd93275089f03879da9315eafb5cf6b90b854 /Documentation
parent69babac019337b35aae5644ccf8089243c749d4c (diff)
downloadlinux-0-day-079396270b0f1e98496ef7672dd754bdd42574dc.tar.gz
linux-0-day-079396270b0f1e98496ef7672dd754bdd42574dc.tar.xz
f2fs: add mount option for segment allocation policy
This patch adds an mount option, "alloc_mode=%s" having two options, "default" and "reuse". In "alloc_mode=reuse" case, f2fs starts to allocate segments from 0'th segment all the time to reassign segments. It'd be useful for small-sized eMMC parts. Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/filesystems/f2fs.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt
index 0caf7da0a532e..0409c47584eac 100644
--- a/Documentation/filesystems/f2fs.txt
+++ b/Documentation/filesystems/f2fs.txt
@@ -180,6 +180,8 @@ whint_mode=%s Control which write hints are passed down to block
down hints. In "user-based" mode, f2fs tries to pass
down hints given by users. And in "fs-based" mode, f2fs
passes down hints with its policy.
+alloc_mode=%s Adjust block allocation policy, which supports "reuse"
+ and "default".
================================================================================
DEBUGFS ENTRIES