Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1394452 > unrolled thread
| Started by | Chao Yu <chao@kernel.org> |
|---|---|
| First post | 2016-05-04 17:20 +0200 |
| Last post | 2016-05-04 17:20 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH 1/4] f2fs: remove unneeded readahead in find_fsync_dnodes Chao Yu <chao@kernel.org> - 2016-05-04 17:20 +0200
| From | Chao Yu <chao@kernel.org> |
|---|---|
| Date | 2016-05-04 17:20 +0200 |
| Subject | [PATCH 1/4] f2fs: remove unneeded readahead in find_fsync_dnodes |
| Message-ID | <rv6KL-6s5-49@gated-at.bofh.it> |
From: Chao Yu <yuchao0@huawei.com>
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>
---
fs/f2fs/recovery.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c
index 395c212..542f210 100644
--- a/fs/f2fs/recovery.c
+++ b/fs/f2fs/recovery.c
@@ -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;
--
2.7.2
Back to top | Article view | linux.kernel
csiph-web