[libvirt] [PATCH 1/4] Introduce virFileSync

Jiri Denemark jdenemar at redhat.com
Wed Oct 26 19:42:25 UTC 2011


On Wed, Oct 19, 2011 at 19:26:24 +0200, Jiri Denemark wrote:
> It still needs to be enhanced to be fully portable and working even if
> fsync() implementation is insane (e.g., on OSX).
> ---
> Notes:
>     Although ideally gnulib would provide us with a sane fsync() and
>     fdatasync() replacements (it already does so for fsync on Win32)
>     so this could probably be dropped in favor of a possible future
>     extension of gnulib (we do not provide any better solution anyway).

I will just drop this patch. Gnulib now provides fdatasync replacement and as
it turned out fsync on OSX is not as bad as we thought so we don't need a
replacement there. virFileSync doesn't give us anything beyond that.

Jirka




More information about the libvir-list mailing list