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 conf: set up for per-grammar overrides in schemas 2014-04-15 21:07:59 +02:00
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 Add '<nat>' element to '<forward>' network schemas 2013-09-05 13:45:49 +02:00
nodedev.rng nodedev: Introduce <pci-express/> to PCI devices 2014-06-16 17:40:49 +02:00
nwfilter.rng Correct invalid RNG schemas 2013-03-21 17:24:08 +01:00
secret.rng secret: add iscsi to possible usage types 2013-03-22 12:10:23 +08:00
storagecommon.rng conf: set up for per-grammar overrides in schemas 2014-04-15 21:07:59 +02:00
storagepool.rng storage: document gluster pool 2013-11-25 11:03:19 -07:00
storagevol.rng storagevol: add nocow to vol xml 2014-07-16 13:35:20 +02:00