[libvirt] v3: Use posix_fallocate() on supported systems to allocate diskspace

Daniel Veillard veillard at redhat.com
Fri Mar 20 11:06:25 UTC 2009


On Thu, Mar 19, 2009 at 08:17:52PM +0530, Amit Shah wrote:
> This patchset makes use of the posix_fallocate() call to allocate
> chunks of files whenever needed if it's available.
> 
> We fallback to using safewrite() if it's not available.
> 
> mmap() could be used instead of safewrite too; I have a patch in case
> someone is interested in seeing it.

  1 + 2 + 3 looks fine to me, ACK,

    thanks a lot !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list