From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2iU9-0005wE-Bm for qemu-devel@nongnu.org; Wed, 10 Jun 2015 12:04:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2iU7-0008C1-TZ for qemu-devel@nongnu.org; Wed, 10 Jun 2015 12:04:13 -0400 Date: Wed, 10 Jun 2015 18:04:02 +0200 (CEST) From: Alexandre DERUMIER Message-ID: <714037364.269214.1433952242906.JavaMail.zimbra@oxygem.tv> In-Reply-To: References: <1433747185-16797-1-git-send-email-famz@redhat.com> <1433747185-16797-2-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 1/2] qapi: Add "detect-zeroes" option to drive-mirror List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andrey Korolyov Cc: Kevin Wolf , Fam Zheng , qemu block , Jeff Cody , qemu-devel , Markus Armbruster , stefanha , pbonzini >>Sorry, forgot to mention - of course I`ve pulled all previous=20 >>zeroing-related queue, so I haven`t had only the QMP-related fix=20 >>running on top of the master :)=20 Hi, I had a discussion about rbd mirroring, detect-zeroes and sparse target= , some months ago with paolo http://qemu.11.n7.nabble.com/qemu-drive-mirror-to-rbd-storage-no-sparse-rbd= -image-td293642.html Not sure it's related but=20 "Lack of bdrv_co_write_zeroes is why detect-zeroes does not work.=20 Lack of bdrv_get_block_status is why sparse->sparse does not work=20 without detect-zeroes.=20 Paolo=20 " ----- Mail original ----- De: "Andrey Korolyov" =C3=80: "Fam Zheng" Cc: "Kevin Wolf" , "qemu block" , = "Jeff Cody" , "qemu-devel" , "Mark= us Armbruster" , "stefanha" , "pbon= zini" Envoy=C3=A9: Mercredi 10 Juin 2015 17:48:54 Objet: Re: [Qemu-devel] [PATCH 1/2] qapi: Add "detect-zeroes" option to=09d= rive-mirror > '{"execute":"drive-mirror", "arguments": { "device":=20 > "drive-virtio-disk0", "target":=20 > "rbd:dev-rack2/vm33090-dest:id=3Dqemukvm:key=3Dxxx:auth_supported=3Dcephx= \\;none:mon_host=3D10.6.0.1\\:6789\\;10.6.0.3\\:6789\\;10.6.0.4\\:6789",=20 > "mode": "existing", "sync": "full", "detect-zeroes": true, "format":=20 > "raw" } }'=20 Sorry, forgot to mention - of course I`ve pulled all previous=20 zeroing-related queue, so I haven`t had only the QMP-related fix=20 running on top of the master :)=20