libvirt/docs/schemas
Chunyan Liu a9fd30e633 storagevol: add nocow to vol xml
Add 'nocow' to storage volume xml so that user can have an option
to set NOCOW flag to the newly created volume. It's useful on btrfs
file system to enhance performance.

Btrfs has low performance when hosting VM images, even more when the guest
in those VM are also using btrfs as file system. One way to mitigate this
bad performance is to turn off COW attributes on VM files. Generally, there
are two ways to turn off COW on btrfs: a) by mounting fs with nodatacow,
then all newly created files will be NOCOW. b) per file. Add the NOCOW file
attribute. It could only be done to empty or new files.

This patch tries the second way, according to 'nocow' option, it could set
NOCOW flag per file:
for raw file images, handle 'nocow' in libvirt code; for non-raw file images,
pass 'nocow=on' option to qemu-img, and let qemu-img to handle that (requires
qemu-img version >= 2.1).

Signed-off-by: Chunyan Liu <cyliu@suse.com>
2014-07-16 13:35:20 +02:00
..
basictypes.rng virInterface: Expose link state & speed 2014-06-11 09:13:32 +02:00
capability.rng virCaps: expose pages info 2014-06-19 15:10:49 +02:00
domain.rng
domaincaps.rng Introduce domain_capabilities 2014-07-03 12:22:37 +02:00
domaincommon.rng qemu: Add cmd_per_lun, max_sectors to virtio-scsi 2014-07-02 09:43:17 +02:00
domainsnapshot.rng conf: split <disk> schema into more pieces 2014-04-16 10:45:55 +02:00
interface.rng interface: report link state for bonds and vlans too 2014-06-20 11:43:19 +03:00
Makefile.am Introduce domain_capabilities 2014-07-03 12:22:37 +02:00
network.rng Add forwarder attribute to <dns/> element 2013-09-17 17:47:33 -06:00
networkcommon.rng
nodedev.rng nodedev: Introduce <pci-express/> to PCI devices 2014-06-16 17:40:49 +02:00
nwfilter.rng
secret.rng
storagecommon.rng
storagepool.rng
storagevol.rng storagevol: add nocow to vol xml 2014-07-16 13:35:20 +02:00