summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2016-05-04 23:17:00 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2016-05-07 10:32:27 -0700
commitae8d1db34ff57b11feceeaaa26940015b14e30fb (patch)
tree394150300d928c8a3c5cb44e016eb739d20e646e /fs
parent4c0c294934b055aca765737c3b06698f51e9124d (diff)
downloadlinux-stable-ae8d1db34ff57b11feceeaaa26940015b14e30fb.tar.gz
linux-stable-ae8d1db34ff57b11feceeaaa26940015b14e30fb.tar.bz2
linux-stable-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')
-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;