aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2014-02-27 20:09:05 +0900
committerAndreas Blaesius <skate4life@gmx.de>2016-06-05 21:21:18 +0200
commitbfc47e74302f98e345bb9a4d4f772acabfd72a43 (patch)
tree9ddab8c4e2e626f59ecf5eea97c16016710f85f3 /Documentation
parent3970eca98fff5afb9b88037216bdf87aa07a4b30 (diff)
downloadkernel_samsung_espresso10-bfc47e74302f98e345bb9a4d4f772acabfd72a43.zip
kernel_samsung_espresso10-bfc47e74302f98e345bb9a4d4f772acabfd72a43.tar.gz
kernel_samsung_espresso10-bfc47e74302f98e345bb9a4d4f772acabfd72a43.tar.bz2
f2fs: add an sysfs entry to control the directory level
This patch adds an sysfs entry to control dir_level used by the large directory. The description of this entry is: dir_level This parameter controls the directory level to support large directory. If a directory has a number of files, it can reduce the file lookup latency by increasing this dir_level value. Otherwise, it needs to decrease this value to reduce the space overhead. The default value is 0. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/filesystems/f2fs.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt
index 5be6b6d..89dd977 100644
--- a/Documentation/filesystems/f2fs.txt
+++ b/Documentation/filesystems/f2fs.txt
@@ -187,6 +187,13 @@ Files in /sys/fs/f2fs/<devname>
cleaning operations. The default value is 4096
which covers 8GB block address range.
+ dir_level This parameter controls the directory level to
+ support large directory. If a directory has a
+ number of files, it can reduce the file lookup
+ latency by increasing this dir_level value.
+ Otherwise, it needs to decrease this value to
+ reduce the space overhead. The default value is 0.
+
================================================================================
USAGE
================================================================================