diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2014-02-27 06:09:05 -0500 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2014-02-27 06:31:15 -0500 |
commit | ab9fa662e4867455f44f4de96d29a7f09cf292c6 (patch) | |
tree | efa4cc308d41d83c0bd527df11bda8ca48e5eca8 /Documentation/filesystems | |
parent | 3843154598a00408f4214a68bd536fdf27b1df10 (diff) |
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/filesystems')
-rw-r--r-- | Documentation/filesystems/f2fs.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt index 8eb06b0a7d2b..803784e1e8ef 100644 --- a/Documentation/filesystems/f2fs.txt +++ b/Documentation/filesystems/f2fs.txt | |||
@@ -195,6 +195,13 @@ Files in /sys/fs/f2fs/<devname> | |||
195 | cleaning operations. The default value is 4096 | 195 | cleaning operations. The default value is 4096 |
196 | which covers 8GB block address range. | 196 | which covers 8GB block address range. |
197 | 197 | ||
198 | dir_level This parameter controls the directory level to | ||
199 | support large directory. If a directory has a | ||
200 | number of files, it can reduce the file lookup | ||
201 | latency by increasing this dir_level value. | ||
202 | Otherwise, it needs to decrease this value to | ||
203 | reduce the space overhead. The default value is 0. | ||
204 | |||
198 | ================================================================================ | 205 | ================================================================================ |
199 | USAGE | 206 | USAGE |
200 | ================================================================================ | 207 | ================================================================================ |