[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[libvirt] v3: Use posix_fallocate() on supported systems to allocate diskspace
- From: Amit Shah <amit shah redhat com>
- To: libvir-list redhat com
- Subject: [libvirt] v3: Use posix_fallocate() on supported systems to allocate diskspace
- Date: Thu, 19 Mar 2009 20:17:52 +0530
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.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]