f2fs: skip unnecessary data writes during fsync
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 25 Jul 2014 02:08:02 +0000 (19:08 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 30 Jul 2014 21:13:03 +0000 (14:13 -0700)
commit6d99ba41a72c1213f2029e6fc66aa7943339b5db
tree08e6973c72997c0b7e0697c921a4f377553f6fd2
parentfff04f90c1b9f91b9c513a89702a4b9ffe5dc1c5
f2fs: skip unnecessary data writes during fsync

This patch intends to improve the fsync performance by skipping remaining the
recovery information, only when there is no data that we should recover.

Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c