Skip to contentSkip to conversation

f2fs: remove unneeded readahead in find_fsync_dnodes

PATCH New Chao Yu 1 participant 1 message May 4, 2016 F2FS file system

lore
Share & tools
lore

Chao Yu

author maintainer
#0 lore raw

PATCH 1/4 f2fs: remove unneeded readahead in find_fsync_dnodes

From: Chao Yu <[email protected]>

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.

---
 fs/f2fs/recovery.c | 2 --
 1 file changed, 2 deletions(-)
fs/f2fs/recovery.c +0 -2
index 395c212..542f210 100644
@@ -220,8 +220,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;
 
Signature · 1 line
2.7.2