]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: add an sysfs entry to control the directory level
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Thu, 27 Feb 2014 11:09:05 +0000 (20:09 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Thu, 27 Feb 2014 11:31:15 +0000 (20:31 +0900)
commit56263420754c367c30d1f1b41bf90a70b825511a
treeefa4cc308d41d83c0bd527df11bda8ca48e5eca8
parentf4e2b36a07c1e4f3361548f362e534ee1c41a9a5
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>
Documentation/filesystems/f2fs.txt
fs/f2fs/f2fs.h
fs/f2fs/super.c