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

Daniel Veillard veillard at redhat.com
Fri Mar 20 12:18:24 UTC 2009


On Fri, Mar 20, 2009 at 12:06:25PM +0100, Daniel Veillard wrote:
> 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,

  Applied and commited :-)

    thanks again !

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