summaryrefslogtreecommitdiff
path: root/nova/virt/libvirt/volume
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2019-04-02 23:41:51 +0000
committerGerrit Code Review <review@openstack.org>2019-04-02 23:41:51 +0000
commit41c387360e4cfe0f7724528c0c637a402ef6f0aa (patch)
tree0007e6e8faa38bf9a92d58a8ebeb8e546db93655 /nova/virt/libvirt/volume
parent2286dca9c56155efcf570400d14669efcf9c7469 (diff)
parent44edfa045c69b18b0a991475cb9c1d87b5941d52 (diff)
downloadnova-41c387360e4cfe0f7724528c0c637a402ef6f0aa.tar.gz
Merge "libvirt: vzstorage: Use 'writeback' QEMU cache mode"
Diffstat (limited to 'nova/virt/libvirt/volume')
-rw-r--r--nova/virt/libvirt/volume/vzstorage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/libvirt/volume/vzstorage.py b/nova/virt/libvirt/volume/vzstorage.py
index d8b971e954..85ffb45076 100644
--- a/nova/virt/libvirt/volume/vzstorage.py
+++ b/nova/virt/libvirt/volume/vzstorage.py
@@ -71,7 +71,7 @@ class LibvirtVZStorageVolumeDriver(fs.LibvirtBaseFileSystemVolumeDriver):
self).get_config(connection_info, disk_info)
conf.source_type = 'file'
- conf.driver_cache = 'writethrough'
+ conf.driver_cache = 'writeback'
conf.source_path = connection_info['data']['device_path']
conf.driver_format = connection_info['data'].get('format', 'raw')
return conf