Home
last modified time | relevance | path

Searched hist:"99 a3c89d" (Results 1 – 1 of 1) sorted by relevance

/qemu/block/
H A Drbd.c99a3c89d Thu Jun 11 03:28:45 GMT 2015 Josh Durgin <jdurgin@redhat.com> rbd: make qemu's cache setting override any ceph setting

To be safe, when cache=none is used ceph settings should not be able
to override it to turn on caching. This was previously possible with
rbd_cache=true in the rbd device configuration or a ceph configuration
file. Similarly, rbd settings could have turned off caching when qemu
requested it, although this would just be a performance problem.

Fix this by changing rbd's cache setting to match qemu after all other
ceph settings have been applied.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>