All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jun Kamada <kama@jp.fujitsu.com>
To: Steven Smith <steven.smith@eu.citrix.com>
Cc: kama@jp.fujitsu.com, xen-devel@lists.xensource.com
Subject: Re: [Patch 0/7] pvSCSI driver
Date: Thu, 28 Feb 2008 11:51:51 +0900	[thread overview]
Message-ID: <20080228111011.8FEC.EB2C8575@jp.fujitsu.com> (raw)
In-Reply-To: <20080227111610.GA26424@weybridge.uk.xensource.com>

Hi Steven-san,

I appreciate your sending a lot of helpful comments. I will answer
the questions and comments described below now. For the other
questions/comments about each source code, I would like to reply on
another mail later.

On Wed, 27 Feb 2008 11:16:10 +0000
Steven Smith <steven.smith@eu.citrix.com> wrote:
> I have a couple of comments on the design:
> 
> -- You've ended up re-implementing a lot of Linux SCSI stuff in the
>    backend.  I don't understand why this was necessary.  Would you
>    mind explaining, please?

# If I misunderstood your question, please inform.

In order to provide LUN assignment to guest domain, backend driver is
modified. Modification point is as follows.

- Ring, EventChannel and GrantTable are independently allocated for
  each LUN assignment. Previsous version used them for each host (HBA).
  This is the main difference between previous and new version.

And also, we removed code for FC transport layer.

> -- The code seems to be a bit undecided about whether the exposed
>    devices are supposed to represent SCSI adapters or SCSI targets.
>    It looks like the frontend initially tries to treat them as a bunch
>    of targets, and then conditionally gloms them back together into
>    hosts depending on xenstore fields?  Having a host per target would
>    make sense, as would having a single host with all of the targets
>    hanging off of it, but I don't understand why this split model is
>    useful.  Perhaps I'm just missing something.

Frontend driver try to attach each LUN according to the information on
xenstore. New version support only LUN assignment to guest domain. If
you want SCSI device/host assignment to guest, you have to specify all
LUNs under the device/host. I understand wildcard description, such
like "1:*:*:*", is needed.

> -- I don't understand the distinction between comfront and scsifront.
>    What was the reason for this split?

I intended to seperate two types of code, primitive code for
communication between frontend and backend, and SCSI specific code.
However, the separation may be incomplete.

> -- There don't seem to be many comments in these patches.  Xen and
>    Linux are both generally pretty comment-light, but an entire new
>    device class without a single meaningful comment still kind of
>    stands out.

I agree to your comment completely. I should add more comment to
source code.

> I'll reply to the individual patches with more detailed comments.  A
> lot of my complaints will doubtless turn out to just be because I'm
> not very used to Linux SCSI.  I've not looked at the xend changes,
> because I'm not really competent to evaluate them.
> 
> Steven.


Best regards,

-----
Jun Kamada

  reply	other threads:[~2008-02-28  2:51 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-18 10:10 [Patch 0/7] pvSCSI driver Jun Kamada
2008-02-18 12:14 ` James Harper
2008-02-19  2:26   ` Jun Kamada
2008-02-19  2:28     ` James Harper
2008-02-20  3:58 ` James Harper
2008-02-20  5:09   ` Jun Kamada
2008-02-21  2:19 ` James Harper
2008-02-21  3:39   ` James Harper
2008-02-21  4:23     ` Jun Kamada
2008-02-21  5:30       ` James Harper
2008-02-25  1:53         ` Jun Kamada
2008-02-27 11:16 ` Steven Smith
2008-02-28  2:51   ` Jun Kamada [this message]
2008-02-28 11:13     ` Steven Smith
2008-02-29  4:47       ` Jun Kamada
2008-03-03 11:38         ` Steven Smith
2008-03-04  7:57           ` Jun Kamada
2008-03-04 13:05             ` Steven Smith
2008-03-05  2:34               ` James Harper
2008-03-05  9:53                 ` Jun Kamada
2008-03-05  9:56                   ` James Harper
2008-03-05 10:00                     ` Jun Kamada
2008-03-06 23:48                       ` Dan Magenheimer
2008-03-07  1:20                         ` Jun Kamada
2008-03-07  2:55                 ` Jun Kamada
2008-03-07  4:31                   ` James Harper
2008-03-14 19:04                     ` James Smart
2008-03-10 12:00                   ` Steven Smith
2008-03-12  6:23                     ` Jun Kamada
2008-03-13 14:30                       ` Steven Smith
2008-03-17  2:33                         ` Jun Kamada
2008-03-17 17:29                           ` Steven Smith
2008-03-14 19:16                       ` James Smart
2008-03-17  2:59                         ` Jun Kamada

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=20080228111011.8FEC.EB2C8575@jp.fujitsu.com \
    --to=kama@jp.fujitsu.com \
    --cc=steven.smith@eu.citrix.com \
    --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.