WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: Bug#637234: linux-image-3.0.0-1-686-pae: I/O errors

To: Ian Campbell <ijc@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: Bug#637234: linux-image-3.0.0-1-686-pae: I/O errors using ext4 under xen
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Fri, 26 Aug 2011 13:53:17 -0400
Cc: Gedalya <gedalya@xxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, 637234@xxxxxxxxxxxxxxx
Delivery-date: Fri, 26 Aug 2011 10:54:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1314254828.17978.720.camel@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20110809180728.2279.11548.reportbug@xxxxxxxxxxxxxxxxx> <1314254828.17978.720.camel@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Aug 25, 2011 at 07:47:08AM +0100, Ian Campbell wrote:
> Hi Konrad,
> 
> Does this look at all familiar? There is some more info in the full bug
> log at http://bugs.debian.org/637234 . In particular, contrary to the
> message below, the user subsequently confirmed that the issue appears to
> be Xen specific (doesn't happen on native or vmware) and that it arose
> between 2.6.39-2-686-pae and 3.0.0-1-686-pae.
> 
> Could it be related to edf6ef59ec7e "xen-blkfront: Introduce
> BLKIF_OP_FLUSH_DISKCACHE support"? That looks like the only pertinent
> change between 2.6.39 and 3.0.


It shouldn't - from the look of it:
[    0.529412] blkfront: xvdc: barrier: enabled

it looks as if the 'feature-barrier' is used. Not 'feature-flush-cache' -
otherwise you would have seen a message about that.

But then.. 3.0 (and 2.6.39) don't do barriers anymore. However the backend
seems to do it. And from my understanding is that the barrier request
is a superset of a flush request so it should work. Put maybe that is
an incorrect assumption.

One way to make sure that is not the case is to disable barriers in the
guest. Meaning in /etc/fstab have something like this:

/dev/xvdc /blah     ext4    errors=remount-ro,barrier=0 0 1


The other question is what version of Dom0 are you running? Is it 2.6.32?
2.6.39?

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel