]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: trigger fdatasync for non-atomic_write file
authorChao Yu <yuchao0@huawei.com>
Wed, 23 Aug 2017 10:23:25 +0000 (18:23 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 29 Aug 2017 17:05:42 +0000 (10:05 -0700)
commit8d5ff4594827d10a42a8a5b08974218143ddc4ab
tree7091832b386af301fc273505a7f7721f1dc4e0e7
parentbb3a1d176c1033922428738a7853edfc3b30db57
f2fs: trigger fdatasync for non-atomic_write file

Sqlite only cares about synchronization of file data instead of other data
unrelated attribute of inode, so in commit flow, call fdatasync is enough.

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