Skip to content

Commit ae8d1db

Browse files
chaseyuJaegeuk Kim
authored andcommitted
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>
1 parent 4c0c294 commit ae8d1db

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎fs/f2fs/recovery.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,6 @@ static int find_fsync_dnodes(struct f2fs_sb_info *sbi, struct list_head *head)
229229
curseg = CURSEG_I(sbi, CURSEG_WARM_NODE);
230230
blkaddr = NEXT_FREE_BLKADDR(sbi, curseg);
231231

232-
ra_meta_pages(sbi, blkaddr, 1, META_POR, true);
233-
234232
while (1) {
235233
struct fsync_inode_entry *entry;
236234

0 commit comments

Comments
 (0)