]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit916f0f7fda0292005ae8a47e86bb5d2d318cc1ef
tree678f9ff7cba4bb170db9985266efd62521561f46
parent7bb6504938af27ac7c6e9fce2b2f6645520d29f6
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