Thread (62 messages) 62 messages, 5 authors, 2019-02-13

Re: [PATCH 06/19] io_uring: add fsync support

From: Hannes Reinecke <hare@suse.de>
Date: 2019-02-09 09:37:25
Also in: linux-block

On 2/8/19 6:34 PM, Jens Axboe wrote:
From: Christoph Hellwig <hch@lst.de>

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 <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
---
  fs/io_uring.c                 | 40 +++++++++++++++++++++++++++++++++++
  include/uapi/linux/io_uring.h |  8 ++++++-
  2 files changed, 47 insertions(+), 1 deletion(-)
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes

--
To unsubscribe, send a message with 'unsubscribe linux-aio' in
the body to majordomo@kvack.org.  For more info on Linux AIO,
see: http://www.kvack.org/aio/
Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help