All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Ian Campbell <Ian.Campbell@eu.citrix.com>
Cc: Patrick Colp <pjcolp@cs.ubc.ca>,
	Jeremy Fitzhardinge <jeremy@goop.org>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Nathanael Rensen <nathanael@polymorpheus.com>
Subject: Re: [RFC PATCH v01] Xen PVSCSI drivers for pvops xen/stable-2.6.32.x kernel
Date: Mon, 10 Jan 2011 11:15:38 +0100	[thread overview]
Message-ID: <20110110101538.GA4915@aepfle.de> (raw)
In-Reply-To: <1294396016.3831.4036.camel@zakaz.uk.xensource.com>

On Fri, Jan 07, Ian Campbell wrote:

> On Fri, 2011-01-07 at 10:03 +0000, Nathanael Rensen wrote:
> > On 7 January 2011 06:35,  Pasi Kärkkäinen <pasik@iki.fi> wrote:
> > > Hello,
> > >
> > > http://pasik.reaktio.net/xen/patches/xen-pvscsi-drivers-linux-2.6.32.27-pvops-v01.diff
> > >
> > > This is the first version of Xen PVSCSI drivers, both the scsiback backend and
> > > scsifront frontend, ported from Novell SLES11SP1 2.6.32 Xenlinux kernel to
> > > pvops xen/stable-2.6.32.x branch.
> > >
> > > -- Pasi
> > 
> > That's great. Some comments based on my experience with pvusb:
> > 
> > 1) You've added GNTST_eagain into include/xen/interface/grant_table.h.
> > When porting the pvusb drivers I removed the "check and retry" loops
> > based on GNTST_eagain because I noticed that netback and blkback don't
> > do that. Looking at the grant_table code in xen-4.0-testing I don't
> > think GNTST_eagain is used now. Perhaps someone with knowledge of the
> > history of GNTST_eagain could help to clarify.
> 
> IIRC GNTST_eagain was added to the classic Xen trees but never forward
> ported to pvops.
> 
> It's part of the page sharing paging work (so dom0 can deal with a
> paged/shared guest rather than for paging of dom0 itself). I guess those
> don't work with pvops kernels? CC'ing the guys who are working on that
> stuff.

I have not tried the pvops kernel with xenpaging.

> (The presence of the use of msleep in the eagain case is a bit
> terrifying. Stripping it out for now and redoing it might not be a bad
> plan)

Right now the retry is required for xenpaging, otherwise the guests
filesystem will be corrupted.
In the long run the newly added waitqueue feature may be used to make
the page access transparent to the guest and dom0.


Olaf

  parent reply	other threads:[~2011-01-10 10:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-07 10:03 [RFC PATCH v01] Xen PVSCSI drivers for pvops xen/stable-2.6.32.x kernel Nathanael Rensen
2011-01-07 10:26 ` Ian Campbell
2011-01-07 10:32   ` Pasi Kärkkäinen
2011-01-10 10:15   ` Olaf Hering [this message]
2011-01-10 13:40     ` Ian Campbell
2011-01-07 10:35 ` Pasi Kärkkäinen
2011-01-07 16:50   ` Konrad Rzeszutek Wilk
2011-01-07 21:21     ` Pasi Kärkkäinen
  -- strict thread matches above, loose matches on Subject: below --
2011-01-06 22:31 Pasi Kärkkäinen
2011-01-07 10:10 ` Ian Campbell
2011-01-07 10:31   ` Pasi Kärkkäinen
2011-11-30 16:23 ` Konrad Rzeszutek Wilk

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=20110110101538.GA4915@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=Ian.Campbell@eu.citrix.com \
    --cc=jeremy@goop.org \
    --cc=nathanael@polymorpheus.com \
    --cc=pjcolp@cs.ubc.ca \
    --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 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.