All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dan Magenheimer" <dan.magenheimer@oracle.com>
To: Samuel Thibault <samuel.thibault@eu.citrix.com>,
	marian klein <klein.marian@gmail.com>
Cc: "dan.magenheimer@oracle.com" <dan.magenheimer@oracle.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	"xen-discuss@opensolaris.org" <xen-discuss@opensolaris.org>
Subject: RE: IO caching on xen?
Date: Tue, 15 Jul 2008 12:32:53 -0600	[thread overview]
Message-ID: <20080715123253015.00000080236@djm-pc> (raw)
In-Reply-To: <20080715113053.GH4529@implementation.uk.xensource.com>

> 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

  reply	other threads:[~2008-07-15 18:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-15 11:22 IO caching on xen? marian klein
2008-07-15 11:30 ` Samuel Thibault
2008-07-15 18:32   ` Dan Magenheimer [this message]
2008-07-16 17:46     ` Samuel Thibault

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080715123253015.00000080236@djm-pc \
    --to=dan.magenheimer@oracle.com \
    --cc=klein.marian@gmail.com \
    --cc=samuel.thibault@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen-discuss@opensolaris.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.