projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ac1349
)
f2fs: no need to wait on page writebck to meta pages
author
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Wed, 30 Apr 2014 00:18:53 +0000
(09:18 +0900)
committer
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Wed, 7 May 2014 01:21:58 +0000
(10:21 +0900)
This patch removes grab_cache_page_write_begin for meta pages.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/checkpoint.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/checkpoint.c
b/fs/f2fs/checkpoint.c
index 1346ce916b8484a0c2304817911e83bf19609373..4206f1664be51c8e918170ee40792b8cda0d09ca 100644
(file)
--- a/
fs/f2fs/checkpoint.c
+++ b/
fs/f2fs/checkpoint.c
@@
-33,12
+33,12
@@
struct page *grab_meta_page(struct f2fs_sb_info *sbi, pgoff_t index)
struct address_space *mapping = META_MAPPING(sbi);
struct page *page = NULL;
repeat:
- page = grab_cache_page
_write_begin(mapping, index, AOP_FLAG_NOFS
);
+ page = grab_cache_page
(mapping, index
);
if (!page) {
cond_resched();
goto repeat;
}
-
+ f2fs_wait_on_page_writeback(page, META);
SetPageUptodate(page);
return page;
}