From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbpDt-0006yx-4j for qemu-devel@nongnu.org; Wed, 08 Oct 2014 07:16:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XbpDn-00015g-1G for qemu-devel@nongnu.org; Wed, 08 Oct 2014 07:16:01 -0400 Received: from mailpro.odiso.net ([89.248.209.98]:50462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbpDm-00015M-Ro for qemu-devel@nongnu.org; Wed, 08 Oct 2014 07:15:54 -0400 Date: Wed, 08 Oct 2014 13:15:47 +0200 (CEST) From: Alexandre DERUMIER Message-ID: <749ee402-bce4-45cb-97f2-8946542437fc@mailpro> In-Reply-To: <54c55fc6-b12a-42e5-b99d-9752c8a9b19b@mailpro> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Subject: [Qemu-devel] qemu drive-mirror to rbd storage : no sparse rbd image List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: Ceph Devel Hi, I'm currently planning to migrate our storage to ceph/rbd through qemu drive-mirror and It seem that drive-mirror with rbd block driver, don't create a sparse image. (all zeros are copied to the target rbd). Also note, that it's working fine with "qemu-img convert" , the rbd volume is sparse after conversion. Could it be related to the "bdrv_co_write_zeroes" missing features in block/rbd.c ? (It's available in other block drivers (scsi,gluster,raw-aio) , and I don't have this problem with theses block drivers). Regards, Alexandre Derumier