From: Daniel Stodden <daniel.stodden@citrix.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
"jaxboe@fusionio.com" <jaxboe@fusionio.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"konrad@kernel.org" <konrad@kernel.org>
Subject: Re: [Xen-devel] Re: [PATCH] xen block backend driver.
Date: Thu, 21 Apr 2011 12:14:37 -0700 [thread overview]
Message-ID: <1303413277.9571.133.camel@agari.van.xensource.com> (raw)
In-Reply-To: <20110421190606.GA10793@infradead.org>
On Thu, 2011-04-21 at 15:06 -0400, Christoph Hellwig wrote:
> 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.
Which ones? Old blkfront would have make a difference back then when
barriers used to be an option, but it never actually declared it, right?
> > 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.
Weeeeeelll, I certainly hope it can deal with backends which never got
to see those headers. :o)
Daniel
next prev parent reply other threads:[~2011-04-21 19:14 UTC|newest]
Thread overview: 18+ 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
2011-04-21 19:14 ` Daniel Stodden [this message]
2011-04-22 9:09 ` [Xen-devel] " 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
-- strict thread matches above, loose matches on Subject: below --
2011-05-05 18:11 [PATCH v3.1] " Konrad Rzeszutek Wilk
2011-05-05 18:11 ` [PATCH] xen block backend driver Konrad Rzeszutek Wilk
2011-05-11 15:02 ` Ian Campbell
2011-05-12 21:01 ` [Xen-devel] " Konrad Rzeszutek Wilk
2011-05-13 7:06 ` Ian Campbell
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=1303413277.9571.133.camel@agari.van.xensource.com \
--to=daniel.stodden@citrix.com \
--cc=hch@infradead.org \
--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).