[Virtio-fs] [PATCH] fuse: make written data persistent after writing

Miklos Szeredi miklos at szeredi.hu
Tue Mar 10 10:14:17 UTC 2020


On Tue, Mar 3, 2020 at 10:15 PM Liu Bo <bo.liu at linux.alibaba.com> wrote:
>
> If this is a DSYNC write, make sure we push it to stable storage now
> that we've written data.

If this is direct I/O then why do we need an fysnc() call?

The only thing needed should be correct setting O_DSYNC in the flags
field of the WRITE request, and it appears to me that that is already
being done.

Thanks,
Miklos





More information about the Virtio-fs mailing list