Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JhMGD-0002te-Ud for qemu-devel@nongnu.org; Thu, 03 Apr 2008 06:01:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JhMGA-0002sb-7r for qemu-devel@nongnu.org; Thu, 03 Apr 2008 06:01:31 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhMGA-0002sY-14 for qemu-devel@nongnu.org; Thu, 03 Apr 2008 06:01:30 -0400 Received: from smtp02.citrix.com ([66.165.176.63]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JhMG9-0004Qw-Ha for qemu-devel@nongnu.org; Thu, 03 Apr 2008 06:01:29 -0400 Received: from mariner.uk.xensource.com ([10.80.2.22]) by smtp01.ad.xensource.com (8.13.1/8.13.1) with ESMTP id m33A0ZcT010477 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 3 Apr 2008 03:00:37 -0700 Received: from iwj by mariner.uk.xensource.com with local (Exim 4.63) (envelope-from ) id 1JhMFG-0007Nh-Il for qemu-devel@nongnu.org; Thu, 03 Apr 2008 11:00:34 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18420.43714.575328.74278@mariner.uk.xensource.com> Date: Thu, 3 Apr 2008 11:00:34 +0100 Subject: Re: [Qemu-devel] [PATCH] Asynchronous reliable and configurable cache flush In-Reply-To: <200804030140.33589.paul@codesourcery.com> References: <18418.28291.689482.198484@mariner.uk.xensource.com> <200804011846.25975.paul@codesourcery.com> <18419.46090.542427.977863@mariner.uk.xensource.com> <200804030140.33589.paul@codesourcery.com> From: Ian Jackson 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 Paul Brook writes ("Re: [Qemu-devel] [PATCH] Asynchronous reliable and configurable cache flush"): > [Ian Jackson:] > > I don't think flush failures are a normal IO error. They can only > > occur when the corresponding host block device is having serious > > trouble. Normally (if it's actually a host disk) this is very bad. > > In practice any IO error indicates that the target device is pretty screwed. > I don't see why flushes should be special. When caches are enabled I'd be > fairly surprised if normal write operations ever returned an error. The most common kind of `IO error' will be disk full (or the equivalent) on the difference file for a COW device. That can't be detected at flush time (at least, not with most host filesystems). Ian.