VDI copy/init/provision ops in xapi are all buffered. Means I/O
completes only deferred. The agent should carefully sync back buffers
to disk and test file status, or gust corruption goes unnoticed.

Presently covers:
 * XVA import
 * Raw VDI import
 * VDI.copy
 * VM.provision (e.g. the Debian Etch post-installation script)

There might be more, which I've been missing then.

Some of the changes below just use O_SYNC on the output fd. Most
assume a prior xen-api-libs patch to make Unixext.fsync provide the
necessary error detail. See related hg-email.

_______________________________________________
xen-api mailing list
[email protected]
http://lists.xensource.com/mailman/listinfo/xen-api

Reply via email to