f2fs: readahead contiguous pages for restore_node_summary
authorChao Yu <chao2.yu@samsung.com>
Fri, 22 Nov 2013 07:48:54 +0000 (15:48 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 23 Dec 2013 01:18:05 +0000 (10:18 +0900)
commit9af0ff1c527ebb267d9a3b6aa8af93c5843d4390
tree4255b05374f6b6c76c0abf1f3d65f33be367cfbb
parent93dfe2ac516250755f7d5edd438b0ce67c0e3aa6
f2fs: readahead contiguous pages for restore_node_summary

If cp has no CP_UMOUNT_FLAG, we will read all pages in whole node segment
one by one, it makes low performance. So let's merge contiguous pages and
readahead for better performance.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
[Jaegeuk Kim: adjust the new bio operations]
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/node.c