From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=55806 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PFmtV-0007BV-BH for qemu-devel@nongnu.org; Tue, 09 Nov 2010 07:01:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PFmtT-0004MG-VX for qemu-devel@nongnu.org; Tue, 09 Nov 2010 07:01:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:64106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PFmtT-0004M0-MA for qemu-devel@nongnu.org; Tue, 09 Nov 2010 07:01:43 -0500 Message-ID: <4CD9384E.2060400@redhat.com> Date: Tue, 09 Nov 2010 13:02:22 +0100 From: Kevin Wolf MIME-Version: 1.0 References: <20101108190253.560821111@redhat.com> <20101108190918.138813908@redhat.com> In-Reply-To: <20101108190918.138813908@redhat.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [patch 2/3] block: set sector dirty on AIO write completion List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marcelo Tosatti Cc: Yoshiaki Tamura , Liran Schour , qemu-devel@nongnu.org Am 08.11.2010 20:02, schrieb Marcelo Tosatti: > Sectors are marked dirty in the bitmap on AIO submission. This is wrong > since data has not reached storage. > > Set a given sector as dirty in the dirty bitmap on AIO completion, so that > reading a sector marked as dirty is guaranteed to return uptodate data. > > Signed-off-by: Marcelo Tosatti Reviewed-by: Kevin Wolf