From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIL1L-00077i-VL for qemu-devel@nongnu.org; Fri, 06 May 2011 09:24:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QIL1K-0000El-Uv for qemu-devel@nongnu.org; Fri, 06 May 2011 09:24:39 -0400 Received: from mail-gw0-f45.google.com ([74.125.83.45]:57869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIL1K-0000Ef-P6 for qemu-devel@nongnu.org; Fri, 06 May 2011 09:24:38 -0400 Received: by gwb19 with SMTP id 19so1361448gwb.4 for ; Fri, 06 May 2011 06:24:38 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4DBAAB92.1040700@redhat.com> References: <1303910855-28999-1-git-send-email-stefanha@linux.vnet.ibm.com> <1303910855-28999-4-git-send-email-stefanha@linux.vnet.ibm.com> <4DBAAB92.1040700@redhat.com> Date: Fri, 6 May 2011 14:24:37 +0100 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Qemu-devel] [PATCH 3/8] qed: add support for Copy-on-Read List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Anthony Liguori , Stefan Hajnoczi , qemu-devel@nongnu.org On Fri, Apr 29, 2011 at 1:14 PM, Kevin Wolf wrote: > Am 27.04.2011 15:27, schrieb Stefan Hajnoczi: >> From: Anthony Liguori >> >> When creating an image using qemu-img, just pass '-o copy_on_read' and then >> whenever QED reads from a backing file, it will write the block to the QED >> file after the read completes ensuring that you only fetch from the backing >> device once. > > As discussed previously, this is not the right primary interface. > > Also, the patch still seems to be broken with respect to concurrent writes. Both good points, I really wanted to give a full RFC patch series to show all the code that has been written today. But your points need to be addressed for the next version. Stefan