summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/recovery.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2016-05-04 17:17:00 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2016-05-07 19:32:27 +0200
commitae8d1db34ff57b11feceeaaa26940015b14e30fb (patch)
tree394150300d928c8a3c5cb44e016eb739d20e646e /fs/f2fs/recovery.c
parentf2fs: retry to truncate blocks in -ENOMEM case (diff)
downloadlinux-ae8d1db34ff57b11feceeaaa26940015b14e30fb.tar.xz
linux-ae8d1db34ff57b11feceeaaa26940015b14e30fb.zip
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 <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/recovery.c')
-rw-r--r--fs/f2fs/recovery.c2
1 files changed, 0 insertions, 2 deletions
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;