diff options
author | Christoph Hellwig <hch@lst.de> | 2019-01-11 09:43:02 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-02-28 08:24:23 -0700 |
commit | c992fe2925d776be066d9f6cc13f9ea11d78b657 (patch) | |
tree | 73f2b974fc7f798adf591ac2ce0ff81098378216 /fs/file_table.c | |
parent | Add io_uring IO interface (diff) | |
download | linux-dev-c992fe2925d776be066d9f6cc13f9ea11d78b657.tar.xz linux-dev-c992fe2925d776be066d9f6cc13f9ea11d78b657.zip |
io_uring: add fsync support
Add a new fsync opcode, which either syncs a range if one is passed,
or the whole file if the offset and length fields are both cleared
to zero. A flag is provided to use fdatasync semantics, that is only
force out metadata which is required to retrieve the file data, but
not others like metadata.
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions