From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2L21-00067f-Kk for qemu-devel@nongnu.org; Tue, 09 Jun 2015 11:01:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2L1x-0008BP-Tp for qemu-devel@nongnu.org; Tue, 09 Jun 2015 11:01:37 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:33098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2L1x-0008AK-O0 for qemu-devel@nongnu.org; Tue, 09 Jun 2015 11:01:33 -0400 Received: by wiwd19 with SMTP id d19so21498874wiw.0 for ; Tue, 09 Jun 2015 08:01:33 -0700 (PDT) Date: Tue, 9 Jun 2015 16:01:30 +0100 From: Stefan Hajnoczi Message-ID: <20150609150130.GB3181@stefanha-thinkpad.redhat.com> References: <55756D6B.8080309@easter-eggs.com> <557580F5.9010804@easter-eggs.com> <55758E37.9010706@easter-eggs.com> <5575B68E.20608@easter-eggs.com> <1451914026.12722300.1433778653126.JavaMail.zimbra@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0eh6TmSyL6TZE2Uz" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [ceph-users] rbd cache + libvirt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andrey Korolyov Cc: "ceph-users@lists.ceph.com" , Arnaud Virlet , "qemu-devel@nongnu.org" , Josh Durgin , Jason Dillaman , Jeff Cody --0eh6TmSyL6TZE2Uz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 08, 2015 at 07:49:15PM +0300, Andrey Korolyov wrote: > On Mon, Jun 8, 2015 at 6:50 PM, Jason Dillaman wrot= e: > > 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]. Tr= y specifying the path to a new configuration file via the "conf=3D/path/to/= my/new/ceph.conf" QEMU parameter where the RBD cache is explicitly disabled= [2]. > > > > > > [1] http://git.qemu.org/?p=3Dqemu.git;a=3Dblob;f=3Dblock/rbd.c;h=3Dfbe8= 7e035b12aab2e96093922a83a3545738b68f;hb=3DHEAD#l478 > > [2] http://ceph.com/docs/master/rbd/qemu-rbd/#usage > > >=20 > Actually the mentioned snippet presumes *expected* behavior with > cache=3Dxxx driving the overall cache behavior. Probably the pass itself > (from cache=3Dnone to proper bitmask values in a backend properties) is > broken in some way. >=20 > CCing qemu-devel for possible bug. CCing Josh Durgin and Jeff Cody for block/rbd.c --0eh6TmSyL6TZE2Uz Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVdv/KAAoJEJykq7OBq3PIPVoH/2BGWEUP56w8pAQ5xu6ZdtWu jKitRqd64qCW38dhadKi4sAXhMMT+gPygG62tq4gJol4li9EhSns+YEN1BqHmsUi qqMo7FbytF/c/QA7+m2+g/juwbsy152PHoijXyYom1CN/fGkpQ/Q4mE26F+xolt8 kITIWcP/3OnWxUnPhM2h7zAs8OJ1aMwbr+Rrv91calvKKDzYgB6N/EMMKw5Rk007 vzPSSmuY/dfQ1zRPJUVr7q0zgm2bkIflk7DdJZXkxPHYaqfANvEBrt23zRF9CpfR d3CnKlA+WvMXZzl+ka3fJ9odtwzISkilxPYaQLS++Zr9qs3VqzN7tGgkKkKXUJE= =/Q4P -----END PGP SIGNATURE----- --0eh6TmSyL6TZE2Uz--