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] IO caching on xen?

To: "Samuel Thibault" <samuel.thibault@xxxxxxxxxxxxx>, "marian klein" <klein.marian@xxxxxxxxx>
Subject: RE: [Xen-devel] IO caching on xen?
From: "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx>
Date: Tue, 15 Jul 2008 12:32:53 -0600
Cc: "dan.magenheimer@xxxxxxxxxx" <dan.magenheimer@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "xen-discuss@xxxxxxxxxxxxxxx" <xen-discuss@xxxxxxxxxxxxxxx>
Delivery-date: Tue, 15 Jul 2008 11:34:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080715113053.GH4529@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Organization: Oracle Corporation
Reply-to: "dan.magenheimer@xxxxxxxxxx" <dan.magenheimer@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjmoQ/5A/SJ+ux4TdyGYly8fKxkDw==
> marian klein, le Tue 15 Jul 2008 11:22:05 +0000, a écrit :
> > I am worried that the xen (or any other VM) with zvol 
> device from ZFS
> > (or any other file system.) may remove the benefits of ZFS,
> >  because the guest OS can write something to disk but the xen itself
> > can do some buffering
> > or lazy writing and it may delay to write to ZFS backend.
> 
> Xen doesn't do any kind of buffering or lazy writing.  It provides
> barriers to the guest, to ensure any needed coherency.
> 
> Samuel

I'm not sure if this is related or not...

I was party to some internal irc where it was believed
to be the case that when a file-backed vbd using file:'...'
is used, dom0's page cache may contain buffer pages that
may be inconsistent with the disk, whereas a file-backed
vbd using tap:aio:'...' does not suffer from the same problem.

Can someone confirm or deny (and if denied, was this fixed
recently)?

Thanks,
Dan


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

<Prev in Thread] Current Thread [Next in Thread>