]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: issue cache flush on direct IO
authorJaegeuk Kim <jaegeuk@kernel.org>
Mon, 18 Apr 2016 21:07:44 +0000 (17:07 -0400)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 26 Apr 2016 21:25:05 +0000 (14:25 -0700)
commitd1410bc645610c93bc6fdcfad54943c7fe6cae48
treede08963c815844f492c03713071c2933e00f137f
parent855a933ed42c669dcd53d3068a3f09e9451b323b
f2fs: issue cache flush on direct IO

Under direct IO path with O_(D)SYNC, it needs to set proper APPEND or UPDATE
flags, so taht f2fs_sync_file can make its data safe.

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