From: Chao Yu Date: Wed, 4 May 2016 15:17:00 +0000 (+0800) Subject: f2fs: remove unneeded readahead in find_fsync_dnodes X-Git-Tag: v4.7-rc1~84^2~34 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ae8d1db34ff57b11feceeaaa26940015b14e30fb;p=karo-tx-linux.git f2fs: remove unneeded readahead in find_fsync_dnodes In find_fsync_dnodes, get_tmp_page will read dnode page synchronously, previously, ra_meta_page did the same work, which is redundant, remove it. Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c index 58275a29e87d..29a37aae95d4 100644 --- a/fs/f2fs/recovery.c +++ b/fs/f2fs/recovery.c @@ -229,8 +229,6 @@ static int find_fsync_dnodes(struct f2fs_sb_info *sbi, struct list_head *head) curseg = CURSEG_I(sbi, CURSEG_WARM_NODE); blkaddr = NEXT_FREE_BLKADDR(sbi, curseg); - ra_meta_pages(sbi, blkaddr, 1, META_POR, true); - while (1) { struct fsync_inode_entry *entry;