fs: add RWF_DSYNC aand RWF_SYNC
authorChristoph Hellwig <hch@lst.de>
Thu, 7 Apr 2016 15:52:03 +0000 (08:52 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 1 May 2016 23:58:39 +0000 (19:58 -0400)
commite864f39569f4092c2b2bc72c773b6e486c7e3bd9
tree4e2cadd87c25718956f26f11771ae9bf669ab380
parent6aa657c8526b8bbab6287f02dd91ac6d0c392d19
fs: add RWF_DSYNC aand RWF_SYNC

This is the per-I/O equivalent of O_DSYNC and O_SYNC, and very useful for
all kinds of file servers and storage targets.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/read_write.c
include/uapi/linux/fs.h