fs: add IOCB_SYNC and IOCB_DSYNC
authorChristoph Hellwig <hch@lst.de>
Thu, 7 Apr 2016 15:52:00 +0000 (08:52 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 1 May 2016 23:58:39 +0000 (19:58 -0400)
commitdde0c2e79848298cc25621ad080d47f94dbd7cce
tree678f9ff7cba4bb170db9985266efd62521561f46
parent716b9bc0cb50b1c2c15ef6a255c88508350e3462
fs: add IOCB_SYNC and IOCB_DSYNC

This will allow us to do per-I/O sync file writes, as required by a lot
of fileservers or storage targets.

XXX: Will need a few additional audits for O_DSYNC

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
13 files changed:
fs/block_dev.c
fs/btrfs/file.c
fs/cifs/file.c
fs/direct-io.c
fs/ext4/file.c
fs/f2fs/file.c
fs/gfs2/file.c
fs/nfs/direct.c
fs/ntfs/file.c
fs/udf/file.c
fs/xfs/xfs_file.c
include/linux/fs.h
mm/filemap.c