mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-30 09:53:10 +00:00
669018bc9c
The new 'refresh' element can override the default refresh operations for a storage pool. The only currently supported override is to set the volume allocation size to the volume capacity. This can be specified by adding the following snippet: <pool> ... <refresh> <volume allocation='capacity'/> </refresh> ... </pool> This is useful for certain backends where computing the actual allocation of a volume might be an expensive operation. Signed-off-by: Jason Dillaman <dillaman@redhat.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
16 lines
397 B
XML
16 lines
397 B
XML
<pool type='rbd'>
|
|
<name>ceph</name>
|
|
<uuid>47c1faee-0207-e741-f5ae-d9b019b98fe2</uuid>
|
|
<source>
|
|
<name>rbd</name>
|
|
<host name='localhost' port='6789'/>
|
|
<host name='localhost' port='6790'/>
|
|
<auth username='admin' type='ceph'>
|
|
<secret uuid='2ec115d7-3a88-3ceb-bc12-0ac909a6fd87'/>
|
|
</auth>
|
|
</source>
|
|
<refresh>
|
|
<volume allocation='capacity'/>
|
|
</refresh>
|
|
</pool>
|