summaryrefslogtreecommitdiff
path: root/nova/virt/libvirt/volume
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2019-04-02 23:42:02 +0000
committerGerrit Code Review <review@openstack.org>2019-04-02 23:42:02 +0000
commit396f499706aa48db5feca2efc122c7d1b7857010 (patch)
treeda1f303ec8bbb9151f8348d1a89954f5f4ca8f82 /nova/virt/libvirt/volume
parent41c387360e4cfe0f7724528c0c637a402ef6f0aa (diff)
parent425f17e2af864c8c3068044be70f05180ec79b1b (diff)
downloadnova-396f499706aa48db5feca2efc122c7d1b7857010.tar.gz
Merge "libvirt: smbfs: Use 'writeback' QEMU cache mode"
Diffstat (limited to 'nova/virt/libvirt/volume')
-rw-r--r--nova/virt/libvirt/volume/smbfs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/libvirt/volume/smbfs.py b/nova/virt/libvirt/volume/smbfs.py
index 02534be0d0..d112af750c 100644
--- a/nova/virt/libvirt/volume/smbfs.py
+++ b/nova/virt/libvirt/volume/smbfs.py
@@ -34,7 +34,7 @@ class LibvirtSMBFSVolumeDriver(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