f2fs: call f2fs_wait_on_page_writeback instead of native function
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 18 Mar 2014 04:29:07 +0000 (13:29 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Thu, 20 Mar 2014 13:10:04 +0000 (22:10 +0900)
commit3cb5ad152b54430f3e5f338c15f8cd434e7160c8
tree84f89b065e23b7f174f2c7d777217c6b2d363da6
parent50c8cdb35ad8016c52fb2326ef9d65542e3a3e1b
f2fs: call f2fs_wait_on_page_writeback instead of native function

If a page is on writeback, f2fs can face with deadlock due to under writepages.
This is caused by merging IOs inside f2fs, so if it comes to detect, let's throw
merged IOs, which is implemented by f2fs_wait_on_page_writeback.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/checkpoint.c
fs/f2fs/dir.c
fs/f2fs/file.c
fs/f2fs/node.c
fs/f2fs/recovery.c