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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]