mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
bb8ccb050d
The storage pool code now attempts to disable COW by default on btrfs, but management applications may wish to override this behaviour. Thus we introduce a concept of storage pool features: <features> <cow state='yes|no'/> </features> If the <cow> feature policy is set, it will be enforced. It will always return an hard error if COW cannot be explicitly set or unset. Reviewed-by: Neal Gompa <ngompa13@gmail.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
16 lines
360 B
XML
16 lines
360 B
XML
<pool type='dir'>
|
|
<name>vms</name>
|
|
<uuid>751f8e7e-d2e9-463d-8ffe-d38f5e13a19b</uuid>
|
|
<capacity unit='bytes'>0</capacity>
|
|
<allocation unit='bytes'>0</allocation>
|
|
<available unit='bytes'>0</available>
|
|
<features>
|
|
<cow state='yes'/>
|
|
</features>
|
|
<source>
|
|
</source>
|
|
<target>
|
|
<path>/i/cant/believe/its/not/btrfs</path>
|
|
</target>
|
|
</pool>
|