]> 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)
commit7cc7d3b6ffb216f77d39fcf7539ee648b8668aab
treeefa4cc308d41d83c0bd527df11bda8ca48e5eca8
parent9458f6020399b3a458a14f4dcbabc1589e18002c
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