]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: readahead contiguous current summary blocks in checkpoint
authorChao Yu <chao2.yu@samsung.com>
Tue, 9 Dec 2014 06:21:46 +0000 (14:21 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 10 Jan 2015 01:02:23 +0000 (17:02 -0800)
commit2846918f042789751b22cf6d27800baefff5de7e
treedfcbadc6e9efc76a17413c0ed3dc7cf0f70469a8
parentd5a9e28f31d9405aa0ab956e3ca2fd0f7e0b797e
f2fs: readahead contiguous current summary blocks in checkpoint

Let's add readahead code for reading contiguous compact/normal summary blocks
in checkpoint, then we will gain better performance in mount procedure.

Changes from v1
  o remove inappropriate 'unlikely' in npages_for_summary_flush.

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