f2fs: relax migratepage for atomic written page
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 6 Jul 2017 21:46:01 +0000 (14:46 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 7 Jul 2017 17:34:48 +0000 (10:34 -0700)
commitff1048e7dffe0582a50e2eaf90e13fc76ea8493d
tree455e87c95239a8b0096098bac9ee1ffaa342c05d
parent000519f27866afdfde020d097b76cf2c4038595e
f2fs: relax migratepage for atomic written page

In order to avoid lock contention for atomic written pages, we'd better give
EBUSY in f2fs_migrate_page when mode is asynchronous. We expect it will be
released soon as transaction commits.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c