mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-28 08:35:22 +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>
11 lines
217 B
XML
11 lines
217 B
XML
<pool type='dir'>
|
|
<name>vms</name>
|
|
<uuid>751f8e7e-d2e9-463d-8ffe-d38f5e13a19b</uuid>
|
|
<features>
|
|
<cow state="yes"/>
|
|
</features>
|
|
<target>
|
|
<path>/i/cant/believe/its/not/btrfs</path>
|
|
</target>
|
|
</pool>
|