diff options
author | Chao Yu <chao2.yu@samsung.com> | 2014-12-18 11:29:05 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-01-10 02:02:23 +0100 |
commit | 9ecf4b80bd32ad727d7fca56706bb5b059935c18 (patch) | |
tree | 4e2ff5f5fe1eaa9e3660b034ed148146b0d83970 /fs/f2fs/inline.c | |
parent | f2fs: merge two uchar variable in struct node_info to reduce memory cost (diff) | |
download | linux-9ecf4b80bd32ad727d7fca56706bb5b059935c18.tar.xz linux-9ecf4b80bd32ad727d7fca56706bb5b059935c18.zip |
f2fs: use ra_meta_pages to simplify readahead code in restore_node_summary
Use more common function ra_meta_pages() with META_POR to readahead node blocks
in restore_node_summary() instead of ra_sum_pages(), hence we can simplify the
readahead code there, and also we can remove unused function ra_sum_pages().
changes from v2:
o use invalidate_mapping_pages as before suggested by Changman Lee.
changes from v1:
o fix one bug when using truncate_inode_pages_range which is pointed out by
Jaegeuk Kim.
Reviewed-by: Changman Lee <cm224.lee@samsung.com>
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/inline.c')
0 files changed, 0 insertions, 0 deletions