f2fs: use writepages->lock for WB_SYNC_ALL
authorJaegeuk Kim <jaegeuk@kernel.org>
Wed, 20 Jan 2016 15:46:05 +0000 (23:46 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 23 Feb 2016 00:07:23 +0000 (16:07 -0800)
commit25c13551519c66453737e038d104058f94b2e70a
tree86c3d57f7fc0111a99e8b8de4d45641932f1c2d0
parentb483fadf7e913be838e11e065175205aa17e429a
f2fs: use writepages->lock for WB_SYNC_ALL

If there are many writepages calls by multiple threads in background, we don't
need to serialize to merge all the bios, since it's background.
In such the case, it'd better to run writepages concurrently.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c