On 2/8/19 6:34 PM, Jens Axboe wrote:
From: Christoph Hellwig <[email protected]>

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.

Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
---
  fs/io_uring.c                 | 40 +++++++++++++++++++++++++++++++++++
  include/uapi/linux/io_uring.h |  8 ++++++-
  2 files changed, 47 insertions(+), 1 deletion(-)

Reviewed-by: Hannes Reinecke <[email protected]>

Cheers,

Hannes

Reply via email to