From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=49549 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P628V-0000d5-Gd for qemu-devel@nongnu.org; Wed, 13 Oct 2010 10:17:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6286-0005Vj-Vs for qemu-devel@nongnu.org; Wed, 13 Oct 2010 10:16:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:63716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6286-0005VK-PJ for qemu-devel@nongnu.org; Wed, 13 Oct 2010 10:16:30 -0400 Message-ID: <4CB5BF2D.3080500@redhat.com> Date: Wed, 13 Oct 2010 16:16:13 +0200 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH v2 6/7] qed: Read/write support References: <1286552914-27014-7-git-send-email-stefanha@linux.vnet.ibm.com> <4CB479D2.7030901@redhat.com> <4CB47D38.3060602@linux.vnet.ibm.com> <4CB48144.9030607@redhat.com> <20101012155953.GA13872@stefan-thinkpad.transitives.com> <4CB489D1.3050204@linux.vnet.ibm.com> <20101013121328.GB8998@stefan-thinkpad.transitives.com> <4CB5AF0D.9000800@redhat.com> <4CB5B2FD.9030205@linux.vnet.ibm.com> <4CB5B908.1020406@redhat.com> <20101013140715.GF8998@stefan-thinkpad.transitives.com> <4CB5BDD1.8050409@redhat.com> <4CB5BE25.3060502@linux.vnet.ibm.com> In-Reply-To: <4CB5BE25.3060502@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Kevin Wolf , Christoph Hellwig , Stefan Hajnoczi , qemu-devel@nongnu.org On 10/13/2010 04:11 PM, Anthony Liguori wrote: >> Why would you ever update the header, apart from relocating L1 for >> some reason? > > > To update the L1/L2 tables clean bit. That's what prevents a check in > the normal case where you have a clean shutdown. I see - so you wouldn't update it every allocation, only when the disk has been quiet for a while. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.