]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: readahead contiguous SSA blocks for f2fs_gc
authorChao Yu <chao2.yu@samsung.com>
Thu, 27 Feb 2014 11:12:24 +0000 (19:12 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Thu, 27 Feb 2014 11:40:36 +0000 (20:40 +0900)
commit1e219baef408f27f54124053caff75e41ecc88ca
tree977ddb17842f5ae24856c1fdf7192d1ae1666840
parent56263420754c367c30d1f1b41bf90a70b825511a
f2fs: readahead contiguous SSA blocks for f2fs_gc

If there are multi segments in one section, we will read those SSA blocks which
have contiguous address one by one in f2fs_gc. It may lost performance, let's
read ahead SSA blocks by merge multi read request.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h
fs/f2fs/gc.c