f2fs: add fsync_mode=nobarrier for non-atomic files
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 26 May 2018 01:02:58 +0000 (18:02 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 30 May 2018 18:41:19 +0000 (11:41 -0700)
commit0fbb04e9980a149b02a055d2a4b4abaeab2e8244
tree4c21c3f3389d72aeb0c70b2be6a7060993820102
parent13e346436f4e5c11538f73647ff2239e46d2cb67
f2fs: add fsync_mode=nobarrier for non-atomic files

For non-atomic files, this patch adds an option to give nobarrier which
doesn't issue flush commands to the device.

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