From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7bdb-00008r-JU for qemu-devel@nongnu.org; Tue, 02 Dec 2008 15:14:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7bdZ-00007s-US for qemu-devel@nongnu.org; Tue, 02 Dec 2008 15:14:27 -0500 Received: from [199.232.76.173] (port=34304 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7bdZ-00007a-Lw for qemu-devel@nongnu.org; Tue, 02 Dec 2008 15:14:25 -0500 Received: from yw-out-1718.google.com ([74.125.46.157]:64977) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L7bdY-0004gI-OZ for qemu-devel@nongnu.org; Tue, 02 Dec 2008 15:14:24 -0500 Received: by yw-out-1718.google.com with SMTP id 6so1230569ywa.82 for ; Tue, 02 Dec 2008 12:14:23 -0800 (PST) Message-ID: <4935971C.4020904@codemonkey.ws> Date: Tue, 02 Dec 2008 14:14:20 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH v2 0/5] QCOW2 small cleanups and changing metadata update order References: <20081124210738.11128.19342.stgit@dhcp-1-237.tlv.redhat.com> In-Reply-To: <20081124210738.11128.19342.stgit@dhcp-1-237.tlv.redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Gleb Natapov wrote: > Hello, > > This patch series removes duplicated code from a couple of places in > qcow2 and makes metadata update safer against unexpected exits. > Applied all. Thanks. Regards, Anthony Liguori > --- > > Gleb Natapov (5): > Change order of metadata update to prevent loosing guest data because of unexpected exit. > Cleanup {alloc|get}_cluster_offset(). > Write table offset and size in one syscall. > Introduce new helper function qcow_shedule_bh(). > Remove tabs from qcow_aio_read_cb(). Fix indentation. > > > block-qcow2.c | 386 ++++++++++++++++++++++++++++----------------------------- > 1 files changed, 192 insertions(+), 194 deletions(-) > > -- > Gleb. > > >