f2fs: readahead multi pages of directory for performance
authorChao Yu <chao2.yu@samsung.com>
Mon, 28 Apr 2014 09:59:43 +0000 (17:59 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 7 May 2014 01:21:57 +0000 (10:21 +0900)
commit817202d937e6cca7e60f42e6495aaa51d70d9d7e
tree24ea4565ddf464250fa39a0e4735d01b14ebf6d6
parent5c1f9927ec1a4753e845193bde99ac3b03b08818
f2fs: readahead multi pages of directory for performance

We have no so such readahead mechanism in ->iterate() path as the one in
->read() path, it cause low performance when we read large directory.
This patch add readahead in f2fs_readdir() for better performance.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/dir.c
fs/f2fs/f2fs.h
This page took 0.02419 seconds and 5 git commands to generate.