xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Daniel Stodden <daniel.stodden@citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	"jaxboe@fusionio.com" <jaxboe@fusionio.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Christoph Hellwig <hch@infradead.org>,
	"konrad@kernel.org" <konrad@kernel.org>
Subject: Re: Re: [PATCH] xen block backend driver.
Date: Thu, 21 Apr 2011 15:06:06 -0400	[thread overview]
Message-ID: <20110421190606.GA10793@infradead.org> (raw)
In-Reply-To: <1303412592.9571.126.camel@agari.van.xensource.com>

On Thu, Apr 21, 2011 at 12:03:12PM -0700, Daniel Stodden wrote:
> Yes, everybody is aware that the semantics were broken. But note it's
> not even a consistency issue at this point, because there's currently no
> frontend which relies on the original ordering semantics either. Take
> xen-blkfront, since blk_flush it uses the barrier op for a flush, being
> just a superset when ordering is enforced.

There is a huge userbase of guests out there that does rely on it.

> But before we just enumerate a new command, a potentially more viable
> option would be FLUSH+FUA flags on the WRITE operation. As if mapping
> bio bits.
> 
> The advantage is that it avoids the extra round trip implied by having
> the frontend driving writes through FSEQ_PREFLUSH on their own. I'd
> expect that to make much more of a performance difference. Somewhat
> differentiating PV from the low physical layer.
> 
> Would you, maybe did you, consider that? I think it sounds interesting
> enough to gather performance data, just asking beforehand.

You will need a pure flush anyway.  Once you actually have a correct
implementation you can look into optimizing it.  Note that at least
the Solaris Xen coded added a cache flush to the protocol.

  reply	other threads:[~2011-04-21 19:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-20 21:05 [PATCH v3] xen block backend Konrad Rzeszutek Wilk
2011-04-20 21:05 ` [PATCH] xen block backend driver Konrad Rzeszutek Wilk
2011-04-21  3:40   ` Christoph Hellwig
2011-04-21 19:03     ` [Xen-devel] " Daniel Stodden
2011-04-21 19:06       ` Christoph Hellwig [this message]
2011-04-21 19:14         ` Daniel Stodden
2011-04-22  9:09           ` Christoph Hellwig
2011-05-02 19:08             ` [Xen-devel] Re: [PATCH] xen block backend driver. - proper flush/barrier/fua support missing Konrad Rzeszutek Wilk
2011-04-21  3:37 ` [PATCH v3] xen block backend Christoph Hellwig
2011-04-21  7:28   ` [Xen-devel] " Ian Campbell
2011-04-21  8:03     ` Ian Campbell
2011-04-21  8:06       ` Christoph Hellwig
2011-04-21  8:38         ` Ian Campbell
2011-04-21  8:04     ` [Xen-devel] " Christoph Hellwig
2011-04-27 22:06       ` Konrad Rzeszutek Wilk
2011-04-28 19:29         ` Pasi Kärkkäinen

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=20110421190606.GA10793@infradead.org \
    --to=hch@infradead.org \
    --cc=daniel.stodden@citrix.com \
    --cc=jaxboe@fusionio.com \
    --cc=konrad.wilk@oracle.com \
    --cc=konrad@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xen-devel@lists.xensource.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).