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>
Tue, 29 May 2018 19:04:08 +0000 (12:04 -0700)
commitd6290814b018aa9a81163b4c806935b315041833
treeaa4a5b75437e501032d8e8fbc6409f7cb0a9929a
parent9a997188ff7ab2110c6fefa85977d1aa8005ae77
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