Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JRrxC-0005AE-Ii for qemu-devel@nongnu.org; Wed, 20 Feb 2008 11:37:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JRrx8-00052h-8V for qemu-devel@nongnu.org; Wed, 20 Feb 2008 11:37:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRrx7-00052P-Vt for qemu-devel@nongnu.org; Wed, 20 Feb 2008 11:37:50 -0500 Received: from smtp02.citrix.com ([66.165.176.63]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JRrx7-0000Ng-Od for qemu-devel@nongnu.org; Wed, 20 Feb 2008 11:37:49 -0500 Received: from mariner.uk.xensource.com (mariner.uk.xensource.com [172.31.17.38]) by smtp01.ad.xensource.com (8.13.1/8.13.1) with ESMTP id m1KGb6Zw012514 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 20 Feb 2008 08:37:07 -0800 Received: from iwj by mariner.uk.xensource.com with local (Exim 4.63) (envelope-from ) id 1JRrwP-0003nN-3R for qemu-devel@nongnu.org; Wed, 20 Feb 2008 16:37:05 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18364.22321.98451.446676@mariner.uk.xensource.com> Date: Wed, 20 Feb 2008 16:37:05 +0000 Subject: Re: [Qemu-devel] [PATCH] bdrv_flush error handling In-Reply-To: <47BC5415.4020102@qumranet.com> References: <18364.19722.241175.337829@mariner.uk.xensource.com> <20080220160457.GD14209@redhat.com> <200802201619.01354.paul@codesourcery.com> <47BC5415.4020102@qumranet.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 Avi Kivity writes ("Re: [Qemu-devel] [PATCH] bdrv_flush error handling"): > For non-raw formats, you can pass through errors on data, but it is > impossible to recover on metadata errors, so dying on I/O error should > be fine. You mean metadata write errors I assume. I don't see why a metadata read error is any worse than any other read error. The guest will often prefer to be told that the volume was broken and then to be denied the ability to continue accessing it. Who knows what the guest thinks of the device ? Perhaps it's an unimportant peripheral, or simulated network block device, used only for data interchange. Write errors for non-raw formats can easily be caused by a disk full situation on the host. Killing the guest hard is unfriendly for that situation. Ian.