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

2009-03-20 Thread Daniel Veillard
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

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

2009-03-20 Thread Daniel P. Berrange
On Thu, Mar 19, 2009 at 09:47:12PM +0530, Amit Shah wrote: On (Thu) Mar 19 2009 [20:17:52], 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.

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

2009-03-20 Thread Daniel Veillard
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

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

2009-03-19 Thread Amit Shah
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. -- Libvir-list

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

2009-03-19 Thread Amit Shah
On (Thu) Mar 19 2009 [20:17:52], 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