diff options
author | Jaegeuk Kim | 2014-04-30 02:18:53 +0200 |
---|---|---|
committer | Jaegeuk Kim | 2014-05-07 03:21:58 +0200 |
commit | bde446866c9200fcfa27ccde213d83db9a6827db (patch) | |
tree | b83d6e6a680a2d10c349071e43357c7f8ed7475e /fs | |
parent | f2fs: avoid grab_cache_page_write_begin for data pages (diff) | |
download | kernel-qcow2-linux-bde446866c9200fcfa27ccde213d83db9a6827db.tar.gz kernel-qcow2-linux-bde446866c9200fcfa27ccde213d83db9a6827db.tar.xz kernel-qcow2-linux-bde446866c9200fcfa27ccde213d83db9a6827db.zip |
f2fs: no need to wait on page writebck to meta pages
This patch removes grab_cache_page_write_begin for meta pages.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/f2fs/checkpoint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index 1346ce916b84..4206f1664be5 100644 --- 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; } |