On 06/08/2015 11:19 AM, Alexandre DERUMIER wrote:
Hi,
looking at the latest version of QEMU,
It's seem that it's was already this behaviour since the add of rbd_cache
parsing in rbd.c by josh in 2012
http://git.qemu.org/?p=qemu.git;a=blobdiff;f=block/rbd.c;h=eebc3344620058322bb53ba8376af4a82388d277;hp=1280d66d3ca73e552642d7a60743a0e2ce05f664;hb=b11f38fcdf837c6ba1d4287b1c685eb3ae5351a8;hpb=166acf546f476d3594a1c1746dc265f1984c5c85
I'll do tests on my side tomorrow to be sure.
It seems like we should switch the order so ceph.conf is overridden by
qemu's cache settings. I don't remember a good reason to have it the
other way around.
Josh
----- Mail original -----
De: "Jason Dillaman" <dilla...@redhat.com>
À: "Arnaud Virlet" <avir...@easter-eggs.com>
Cc: "ceph-users" <ceph-users@lists.ceph.com>
Envoyé: Lundi 8 Juin 2015 17:50:53
Objet: Re: [ceph-users] rbd cache + libvirt
Hmm ... looking at the latest version of QEMU, it appears that the RBD cache settings are
changed prior to reading the configuration file instead of overriding the value after the
configuration file has been read [1]. Try specifying the path to a new configuration file
via the "conf=/path/to/my/new/ceph.conf" QEMU parameter where the RBD cache is
explicitly disabled [2].
[1]
http://git.qemu.org/?p=qemu.git;a=blob;f=block/rbd.c;h=fbe87e035b12aab2e96093922a83a3545738b68f;hb=HEAD#l478
[2] http://ceph.com/docs/master/rbd/qemu-rbd/#usage
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com