]> git.karo-electronics.de Git - linux-beck.git/commit
f2fs: use wait_for_stable_page to avoid contention
authorJaegeuk Kim <jaegeuk@kernel.org>
Wed, 20 Jan 2016 15:43:51 +0000 (23:43 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 23 Feb 2016 00:07:23 +0000 (16:07 -0800)
commitfec1d6576cdf2ce13f84fcdf7b20d02a05f76fc6
treea413bdb72037dedf3bace051d93683591690cd5b
parent718e53fa633f84d09acb4b76f1ad572ccbf75a12
f2fs: use wait_for_stable_page to avoid contention

In write_begin, if storage supports stable_page, we don't need to wait for
writeback to update its contents.
This patch introduces to use wait_for_stable_page instead of
wait_on_page_writeback.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
13 files changed:
fs/f2fs/checkpoint.c
fs/f2fs/data.c
fs/f2fs/dir.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/gc.c
fs/f2fs/inline.c
fs/f2fs/inode.c
fs/f2fs/node.c
fs/f2fs/node.h
fs/f2fs/recovery.c
fs/f2fs/segment.c
fs/f2fs/xattr.c