diff options
author | Chao Yu <chao2.yu@samsung.com> | 2015-10-12 17:04:21 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-10-12 14:01:46 -0700 |
commit | 2b947003fa98d5a39f3b21214380d0b1daf750b5 (patch) | |
tree | b18656267b68c3319907cf5ab3971f31aeaccae7 /fs/f2fs/node.c | |
parent | b8c2940048adf4b2fcc5ae738f2bd4821ebf6a8a (diff) | |
download | lwn-2b947003fa98d5a39f3b21214380d0b1daf750b5.tar.gz lwn-2b947003fa98d5a39f3b21214380d0b1daf750b5.zip |
f2fs: don't tag REQ_META for temporary non-meta pages
In recovery or checkpoint flow, we grab pages temperarily in meta inode's
mapping for caching temperary data, actually, datas in these pages were
not meta data of f2fs, but still we tag them with REQ_META flag. However,
lower device like eMMC may do some optimization for data of such type.
So in order to avoid wrong optimization, we'd better remove such flag
for temperary non-meta pages.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/node.c')
-rw-r--r-- | fs/f2fs/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 4d9bedfe101c..c61dfb695308 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -1807,7 +1807,7 @@ int restore_node_summary(struct f2fs_sb_info *sbi, ra_meta_pages(sbi, addr, nrpages, META_POR); for (idx = addr; idx < addr + nrpages; idx++) { - struct page *page = get_meta_page(sbi, idx); + struct page *page = get_tmp_page(sbi, idx); rn = F2FS_NODE(page); sum_entry->nid = rn->footer.nid; |