qemu-e2k/io
Fabiano Rosas c05dfcb7f2 io: fsync before closing a file channel
Make sure the data is flushed to disk before closing file
channels. This is to ensure data is on disk and not lost in the event
of a host crash.

This is currently being implemented to affect the migration code when
migrating to a file, but all QIOChannelFile users should benefit from
the change.

Reviewed-by: "Daniel P. Berrangé" <berrange@redhat.com>
Acked-by: "Daniel P. Berrangé" <berrange@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20240229153017.2221-6-farosas@suse.de
Signed-off-by: Peter Xu <peterx@redhat.com>
2024-03-01 15:42:04 +08:00
..
channel-buffer.c
channel-command.c
channel-file.c io: fsync before closing a file channel 2024-03-01 15:42:04 +08:00
channel-null.c
channel-socket.c
channel-tls.c io: add trace event when cancelling TLS handshake 2024-02-09 12:50:31 +00:00
channel-util.c
channel-watch.c
channel-websock.c
channel.c io: Add generic pwritev/preadv interface 2024-03-01 15:42:04 +08:00
dns-resolver.c
meson.build
net-listener.c io: Stop appending -listen to net listeners 2023-11-07 14:54:56 +00:00
task.c
trace-events io: add trace event when cancelling TLS handshake 2024-02-09 12:50:31 +00:00
trace.h