]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - fs/f2fs/f2fs.h
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)
commit3fa06d7bc9f579bd180e879fd1c9bdb6b1b0d9b7
treedfcbadc6e9efc76a17413c0ed3dc7cf0f70469a8
parent5df1f1da7a148c4a14d035b49c4d89790f59a57a
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