On Fri, Jan 12, 2024 at 08:01:36AM +0800, Peter Xu wrote: > On Thu, Jan 11, 2024 at 03:46:02PM -0300, Fabiano Rosas wrote: > > > (1) Does this apply to all io channel users, or only migration? > > > > All file channel users. > > I meant the whole idea of flushing on close, on whether there will be > iochannel users that will prefer not do so? It's a matter of where to put > this best.
IMHO, all users of QIOChannelFile will benefit from flushing, to ensure integrity of their saved file upon host crash. With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|