To actually get the benefit of writeback caching, qemu must be
aware of it so it pases flushes to rbd. Since hammer rbd caching
is enabled by default, so add the nova option to make qemu aware
of it.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
libvirt_images_type = rbd
libvirt_images_rbd_pool = vms
libvirt_images_rbd_ceph_conf = /etc/ceph/ceph.conf
+ libvirt_disk_cachemodes="network=writeback"
rbd_user = cinder
rbd_secret_uuid = 457eb676-33da-42ec-9a8c-9293d545c337
images_rbd_ceph_conf = /etc/ceph/ceph.conf
rbd_user = cinder
rbd_secret_uuid = 457eb676-33da-42ec-9a8c-9293d545c337
+ disk_cachemodes="network=writeback"
It is also a good practice to disable file injection. While booting an