projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c0c294
)
f2fs: remove unneeded readahead in find_fsync_dnodes
author
Chao Yu
<yuchao0@huawei.com>
Wed, 4 May 2016 15:17:00 +0000
(23:17 +0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Sat, 7 May 2016 17:32:27 +0000
(10:32 -0700)
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>
fs/f2fs/recovery.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/recovery.c
b/fs/f2fs/recovery.c
index 58275a29e87d2d57b109a7756b43218cff7353ac..29a37aae95d430b64f9009dac324e99f9ba5cc66 100644
(file)
--- 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;