difference between qemu cache settings and ceph.conf rbd cache settings?
Hello list,
i've now patched my qemu to include the qemu cache settings for rbd.
Now i can change my drive caching mode. But there are also these settings for global section in ceph.conf.
rbd_cache = true
rbd_cache_size = 33554432
rbd_cache_max_age = 2.0How do they influence or replace each other?
thanks
Stefan
Quoted 7 lines · Stefan Priebe - Profihost AG
Hello list,
i've now patched my qemu to include the qemu cache settings for rbd.
Now i can change my drive caching mode. But there are also these settings for global section in ceph.conf.
Quoted 8 lines
rbd_cache= truerbd_cache_size= 33554432rbd_cache_max_age= 2.0How do they influence or replace each other?
thanks
Stefan
In qemu, the cache settings map to:
writeback:
rbd_cache = true
writethrough:
rbd_cache = true
rbd_cache_max_dirty = 0
none:
rbd_cache = false
qemu's settings are overridden by any custom settings you have in a config file or on the qemu command line.
Josh
Am 19.06.2012 08:42, schrieb Josh Durgin:
Quoted 9 lines
In qemu, the cache settings map to:
writeback:
rbd_cache= truewritethrough:
rbd_cache= truerbd_cache_max_dirty= 0
Quoted 5 lines
none:
rbd_cache= falseqemu's settings are overridden by any custom settings you have in a config file or on the qemu command line.
Thanks!
Stefan