From: Vladislav Bolkhovitin <vst@vlnb.net>
To: Mike Christie <michaelc@cs.wisc.edu>
Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>,
linux-scsi@vger.kernel.org,
"Nicholas A. Bellinger" <nab@linux-iscsi.org>,
James Bottomley <James.Bottomley@HansenPartnership.com>,
scst-devel <scst-devel@lists.sourceforge.net>
Subject: Re: Kernel Summit Request for Discussion: The Future of Target mode and Cloud storage on Linux
Date: Wed, 27 Aug 2008 21:51:55 +0400 [thread overview]
Message-ID: <48B5943B.80707@vlnb.net> (raw)
In-Reply-To: <48AF1789.6080803@cs.wisc.edu>
Mike Christie wrote:
> Vladislav Bolkhovitin wrote:
>>> 3. Start sending patches for common code like scatterlist improvements
>>> and scatterlist memory reservations.
>> What do you mean?
>
> There were some nice functionality that Nick's target had and I thought
> scst had too that could be more generic like the ability to reservre
> memory for a scatterlist or basically make sure you can have a
> scatterlist that is within a drivers/hardwares limits and can fullfill
> the request. For exmaple if the target driver could only do X segments,
> but the command was 8 MBs then we need a scatterlist with big segments,
> and I thought you guys had nice to code to handle this. It is the same
> thing that is needed by the SCSI upper layer drives when chaining is not
> supported.
>
> You should rip that out of the scst patch set or whatever Nicsk patchset
> is called and get it in right away to make it easier to review the
> target patches (less target code to argue about :)).
Yes, there is such code. Sure, it can be extracted and posted as a
separate patch, so other drivers would be able to use it as well (it
isn't SCSI specific, so, I think, should be put somewhere in drivers/base/).
But, in fact, so far we have not argued a bit of code. We argue
fundamental principles, so extracting SGV cache or Nick's analog won't
actually change anything.
>>> 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.
>> So, do you propose to start converting STGT to SCST? Do I understand you
>> correctly?
>
> Will we ever finish these threads if we go the other way where we
> convert scst to stgt :) Yes, we will convert stgt to scst if that is how
> you want to word it. I think when people are saying evolve the code they
> do not mean that we have to force scst into stgt or the reverse. With
> James allowing performance critical stuff in the kernel we can add
> whatever is best. For the stgt functionalty that may not be support by
> scst or whatever is going to go in, then yeah, Tomo and I can handle that.
What not clear to me are the reasons behind decision to use STGT as a
base point for future development. AFAIK, the only valuable advantage it
has over SCST is ibmvscsi target driver. And that's all. ISER target
driver doesn't need any kernel support, so can happily live without
STGT. Correct me, if I wrong.
Usually people, choosing the starting point of some consolidating
project among several similar ones, choose one, which is the closest to
what they ultimately want to see in the finish. Apparently, SCST is a
lot closer to that, than STGT, correct? So, then, why the choice was
done to start from STGT? Definitely, this choice will add a lot of
effort without any return. Or, am I missing something? There is nothing
personal in my questions, I'm caring only about amount of needed effort.
Vlad
next prev parent reply other threads:[~2008-08-27 17:51 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 ` [Ksummit-2008-discuss] " Mike Christie
2008-08-21 23:53 ` 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 [this message]
2008-08-25 21:59 ` 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=48B5943B.80707@vlnb.net \
--to=vst@vlnb.net \
--cc=James.Bottomley@HansenPartnership.com \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=linux-scsi@vger.kernel.org \
--cc=michaelc@cs.wisc.edu \
--cc=nab@linux-iscsi.org \
--cc=scst-devel@lists.sourceforge.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.