From: "Dan Magenheimer" Subject: RE: IO caching on xen? Date: Tue, 15 Jul 2008 12:32:53 -0600 Message-ID: <20080715123253015.00000080236@djm-pc> References: <20080715113053.GH4529@implementation.uk.xensource.com> Reply-To: "dan.magenheimer@oracle.com" Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20080715113053.GH4529@implementation.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Samuel Thibault , marian klein Cc: "dan.magenheimer@oracle.com" , "xen-devel@lists.xensource.com" , "xen-discuss@opensolaris.org" List-Id: xen-devel@lists.xenproject.org > marian klein, le Tue 15 Jul 2008 11:22:05 +0000, a =E9crit : > > 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