public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Boutcher <sleddog@us.ibm.com>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH] ibmvscsi driver (private)
Date: Tue, 10 Feb 2004 10:47:23 -0600	[thread overview]
Message-ID: <opr25x89jjl6e53g@us.ibm.com> (raw)
In-Reply-To: <1076428747.1804.11.camel@mulgrave>

On 10 Feb 2004 10:59:06 -0500, James Bottomley 
<James.Bottomley@SteelEye.com> wrote:
> But the question still remains: why not use nbd?  That can project the
> block devices over any transport from one node to another.  A good
> reason might be that you need more capability than nbd provides (it
> doesn't support handoff of ioctls for instance).

The two main reasons are (a) not requiring a TCP/IP stack and associated 
configuration, and (b) the desire to support any SCSI device, including 
writable optical devices, tape, etc.  The goal is to put a RedHat/SuSE CD 
in the (perhaps virtual) CD driver and do a normal install to a (virtual) 
disk.

> Secondly, even if you do this in the SCSI stack, why not follow the nbd
> approach: that's client partly at user level and party in kernel with
> server purely at user level.  You could still do the rdma handoff in the
> client, and we'd have something that could be network encapsulated as
> well.
For the client side, I'm not sure I see a good reason for pushing up to 
user level.  With Christoph's comments, the code is getting even simpler 
than before and there is no RDMA on the client side.  For the server side, 
I think that will be part of the discussion.

Converging this with other network protocols is probably only interesting 
if/when there are other RDMA interfaces.

> Your server code is this, isn't it:
>
> http://source.scl.ameslab.gov:14690//linux-2.4/anno/drivers/scsi/ibmvscsis.c@1.3?nav=index.htmlsrc/|src/drivers|src/drivers/scsi
>
> Well, yes, there will be a huge fight over that.  You are essentially
> only doing what nbd does, since you expect to attach any block device
> and translate the SCSI commands internally.

Yup, that's the server code.  It's not as pretty as I would like.  When I 
post it I am going to be very open minded about tearing it up and starting 
over.

Thanks for the comments, by the way.

Dave B

      parent reply	other threads:[~2004-02-10 16:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-09 16:23 [PATCH] ibmvscsi driver Dave Boutcher
2004-02-09 21:27 ` Christoph Hellwig
2004-02-09 21:55 ` James Bottomley
     [not found]   ` <opr25llojql6e53g@us.ibm.com>
     [not found]     ` <1076428747.1804.11.camel@mulgrave>
2004-02-10 16:47       ` Dave Boutcher [this message]

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=opr25x89jjl6e53g@us.ibm.com \
    --to=sleddog@us.ibm.com \
    --cc=James.Bottomley@SteelEye.com \
    --cc=linux-scsi@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox