]> 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)
commit089f4399f95e99d98772cac34fc68f73b59d380a
tree678f9ff7cba4bb170db9985266efd62521561f46
parent81efb39fc1ab3775b2aa4b76812966013c52882f
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