From: Mike Christie <michaelc@cs.wisc.edu>
To: Vladislav Bolkhovitin <vst@vlnb.net>
Cc: ksummit-2008-discuss@lists.linux-foundation.org,
James Bottomley <James.Bottomley@HansenPartnership.com>,
FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>,
"Nicholas A. Bellinger" <nab@linux-iscsi.org>,
scst-devel <scst-devel@lists.sourceforge.net>,
linux-scsi@vger.kernel.org,
Bart Van Assche <bart.vanassche@gmail.com>
Subject: Re: [Ksummit-2008-discuss] Kernel Summit Request for Discussion: The Future of Target mode and Cloud storage on Linux
Date: Thu, 21 Aug 2008 18:31:03 -0500 [thread overview]
Message-ID: <48ADFAB7.5010201@cs.wisc.edu> (raw)
In-Reply-To: <48ADC53B.6090501@vlnb.net>
snip
>> non overlapping code bases in the kernel is the right thing to do, so
>> what I'd like is for us to evolve the existing solution into something
>> that will work for both (by taking pieces of the out of SCST and placing
>> them into STGT).
>>
snip
>
> James, you missed that SCST for a long time has support for implementing
> backstorage devices in the user space. This is provided through
> backstorage device handler called scst_user. You can find its interface
Does scst support moving the scsi state machine there? I think that is
what James meant by some of his comments, but I do not think this detail
is too important. If you can, great one less todo item.
>
> If all necessary pieces of STGT moved in the kernel, it would become
> pretty much the same as SCST at the moment.
In the top paragraph James is saying to move scst into stgt, so it seems
like we can do the following:
1. You and with Nick battle each other about what are the best pieces of
scst and his target and what should go upstream.
2. Do a ibm vscsi target for the new framework since that is the only
upstream kernel target right now. For qla2xxx, we can forget the patches
we sent qlogic and use what comes with the common framework since scst
has one already.
3. Start sending patches for common code like scatterlist improvements
and scatterlist memory reservations.
4. Send patches for new target infrastructure core code for review and
cleanup. And send ibm vscsi target driver for an example and to make
sure there are no functionality regressions. The latter should not be
too hard because stgt does not have many features right? :)
5. When common code is merged and new core target infrastructure is
through the review process we can just swap out the new code for stgt
and name it whatever you want.
Tomo and I can handle trying to modify the new framework to support
putting a scsi state machine in userspace and sharing that with kernel
code. Right now the primary targets for stgt that users are deploying
are are completely in userspace, so we do not have much to worry about.
There are ibm vscsi users, but they are a lot smaller in number compared
to iscsi. I would bet the ibmvscsi would prefer to use the kernel target
we make too.
Our userspace tools will also be able to support both kernel space and
userspace targets with little trouble so distros that have stgt will not
notice any differences.
Surely this will be faster than writing all these mails and wasting time
on this :)
I think James also said something about moving STGT in-kernel to get
performance gains, but I do not think it means that we have to push
exact code that sits in Tomo's git tree from usrspace into the kernel.
If along the way we replace it with scst or Nick's code and we end up
with a variant of scst or Nicks code that can still support userspace
targets then I do not think any one is going to make long threads like
these have resulted in :)
Will this work for everyone?
next prev parent reply other threads:[~2008-08-21 23:31 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-21 19:42 [Ksummit-2008-discuss] Kernel Summit Request for Discussion: The Future of Target mode and Cloud storage on Linux Vladislav Bolkhovitin
2008-08-21 23:19 ` FUJITA Tomonori
2008-08-22 19:01 ` Vladislav Bolkhovitin
2008-08-23 2:35 ` FUJITA Tomonori
2008-08-27 18:00 ` Vladislav Bolkhovitin
2008-08-21 23:31 ` Mike Christie [this message]
2008-08-21 23:53 ` [Ksummit-2008-discuss] " James Bottomley
2008-08-22 19:00 ` Vladislav Bolkhovitin
2008-08-22 19:13 ` James Bottomley
2008-08-27 17:49 ` Vladislav Bolkhovitin
2008-08-22 18:59 ` [Ksummit-2008-discuss] " Vladislav Bolkhovitin
2008-08-22 19:05 ` Arjan van de Ven
2008-08-22 19:46 ` Mike Christie
2008-08-27 17:51 ` Vladislav Bolkhovitin
2008-08-25 21:59 ` [Ksummit-2008-discuss] " Nicholas A. Bellinger
2008-08-27 17:56 ` Vladislav Bolkhovitin
2008-08-27 17:59 ` [Scst-devel] " Ming Zhang
2008-08-28 17:48 ` Vladislav Bolkhovitin
2008-08-27 22:13 ` Kernel Level Generic Target Mode control path Nicholas A. Bellinger
2008-08-27 22:40 ` Nicholas A. Bellinger
2008-08-28 17:52 ` Vladislav Bolkhovitin
2008-08-28 17:52 ` Vladislav Bolkhovitin
2008-08-28 18:00 ` James Bottomley
2008-08-28 23:08 ` Nicholas A. Bellinger
2008-08-28 23:28 ` Nicholas A. Bellinger
2008-08-29 16:28 ` Vladislav Bolkhovitin
2008-08-29 20:10 ` Nicholas A. Bellinger
2008-08-30 20:53 ` Vladislav Bolkhovitin
2008-08-31 18:18 ` Bart Van Assche
2008-09-02 21:25 ` Nicholas A. Bellinger
2008-09-19 17:50 ` Vladislav Bolkhovitin
2008-08-31 18:42 ` Bart Van Assche
2008-09-19 17:50 ` Vladislav Bolkhovitin
2008-08-22 0:26 ` [Ksummit-2008-discuss] Kernel Summit Request for Discussion: The Future of Target mode and Cloud storage on Linux Arjan van de Ven
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=48ADFAB7.5010201@cs.wisc.edu \
--to=michaelc@cs.wisc.edu \
--cc=James.Bottomley@HansenPartnership.com \
--cc=bart.vanassche@gmail.com \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=ksummit-2008-discuss@lists.linux-foundation.org \
--cc=linux-scsi@vger.kernel.org \
--cc=nab@linux-iscsi.org \
--cc=scst-devel@lists.sourceforge.net \
--cc=vst@vlnb.net \
/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.